InternetMail.Logon
Syntax:
Parameters:
<MailProfile> (required)
A user profile for logging on to the mail server.
<ReceivingProtocol> (optional)
Specifies the type of connection, which is used when connecting to the Internet mail.
If you need to use the IMAP, then you should specify the corresponding type.
Default value: POP3.
Description:
Availability:
Note:
Example:
// property values are used as example Profile = New InternetMailProfile; Profile.SMTPServerAddress = 1c.ru; Profile.POP3ServerAddress = 1c.ru; Profile.SMTPPort = 25; Profile.POPPort3 = 110; Profile.User = "user"; Profile.Password = "password"; Mail = New InternetMail; Mail.Logon(Profile); |
See also: