Xbasic
Email_send_low Function
Syntax
L flag email_send_low(C from_emailAddress ,C from_name ,C message_html ,C message_plaintext ,C message_subject ,C to_emailAddresses ,C user_name ,C password ,C smtp_address[,N port ])
Arguments
- from_emailAddressCharacter
The sender's e-mail address
- from_nameCharacter
The sender's name
- message_htmlCharacter
The message in HTML format
- message_plaintextCharacter
The message in plaintext format
- message_subjectCharacter
The message subject
- to_emailAddressCharacter
The recipient's e-mail address. This can be a comma delimited list of addresses.
- user_nameCharacter
The user name of the sender's e-mail account.
- passwordCharacter
The password of the sender's e-mail account.
- smtp_addressCharacter
The address of the SMTP server.
- portNumeric
The port. Default value is 25
Returns
- flagLogical
Returns .t. if message was sent.
Description
Send an email message without using a pre-configured email profile.
Profiles are defined by selecting the View, Settings, E-mail command. However, there may be situations in which a profile has not been defined where this function is useful.
To send an email using a Profile, use the email_send() function.
See Also