EMAIL SET ON
Top  Previous  Next

Additional options when the EMAIL value is set to ON

REPORT_EMAIL_OPTIONS

Note: Each additional OPTION parameter must be separated by pipe | symbol


OPTION Parameters:

EMAIL specifies the report output (defined as FILENAME filename.ext ) to be sent via e-mail as an attachment.

Values:
ON  
OFF  
 
EMAIL_HOST specifies Hostname/IP Address of SMTP Server (Outgoing). Also sometimes known as your 'Sending Mail Server', your SMTP server receives and processes all of your outgoing mail.
For example, your Outgoing Mail Server might be called something like 'my-internet-provider.com' or 'outgoing-mail.mycompany.com'. The SMTP server name is sometimes the same as your incoming mail server name. If your ISP or your network administrator has not given this server name to you, you can leave the box blank. If you do not know what your outgoing mail server name is, you need to contact your Internet Service Provider or Network Administrator.

EMAIL_USERID specifies a valid User Name or Login Name for SMTP Server. This is the name you use to log into your email account. Your ISP or organization provides it. It is generally, but not necessarily, the name that appears before the at sign (@) in your return email address. For example, if your email address was <jim@my-server.com> - then your username would be 'jim' (no quotes). If you do not know what your username is, you need to contact your Internet Service Provider or Network Administrator.
                                                            
EMAIL_PASSWORD specifies valid SMTP Server Password for the user.

EMAIL_ATTACHMENTS specifies file list. Each file must be separated by # symbol.

EMAIL_BODY This option contains body of the mail.

EMAIL_DATE This option holds the date the message was sent. (Default = .#DATE)

EMAIL_FROM_ADDRESS specifies the address of the E-mail account from which the mail is to be sent. Sender E-Mail Address (From E-Mail Address:) Enter your e-mail address here. For example, your email address might be 'jim@my-internet-service.com' or 'molly@my-business-domain.com'
Take care not to make a mistake here - or else it will make it difficult for others to reply to your emails. If you do not know what your e-mail address is, you need to contact your Internet Service Provider or Network Administrator.

EMAIL_FROM_NAME represents the person's name in an E-mail address. Your real name or what you want to appear as your name on messages that you send out.

EMAIL_TO_LIST identifies the recipient(s) of a message. Specify the list of valid e-mail address(s) to which the e-mail is to be sent.

EMAIL_REPLY identifies the delivery address for message replies. This is typically the same as Sender E-Mail Address. Enter your e-mail address here. For example, your email address might be 'jim@my-internet-service.com' or 'molly@my-business-domain.com' Take care not to make a mistake here - or else it will make it difficult for others to reply to your emails. If you do not know what your e-mail address is, you need to contact your Internet Service Provider or Network Administrator.

EMAIL_SUBJECT identifies the subject for the message. Subject is a text string that identifies the subject for the message.

EMAIL_CC_LIST specied the list of e-mail addresses as Carbon Copies to be sent along with the e-mail.

EMAIL_BCC_LIST specifies the list of e-mail addresses as Blind Carbon Copies to be sent along with the mail.

EMAIL_PORT specifies the Integer value of SMTP Server Port. (Default = 25).

EMAIL_AUTHENTICATION Set the value for this option to ON if your SMTP Server requires user authentication.

Values:
ON  
OFF  

EMAIL_DELETE_AFTER_SEND Set the value for this option to ON if you wish to delete the report files after sending e-mail.

EMAIL_SHOW_DIALOG Set the value for this option to ON if you would like to show e-mail setup dialog.


Example:

CONNECT RRBYW10
PRINT Invoice WHERE TransID = 1031 +
OPTION PDF|FILENAME Invoice_1031.PDF +
|
EMAIL ON +
|
EMAIL_TO_LIST yourname@yourdomain.com, whoelse@yourdomain.com +
|
EMAIL_FROM_NAME John D. Johnson +
|
EMAIL_FROM_ADDRESS johndjohnson@yourdomain.com +
|
EMAIL_SUBJECT Imagine The Possibilities! +
|
EMAIL_BODY Attached is the invoice - sent via R:BASE. Because we Can! +
|
EMAIL_ATTACHMENTS C:\Letters\otherstuff.pdf#C:\Letters\morestuff.pdf +
|
EMAIL_DELETE_AFTER_SEND ON +
|
EMAIL_SHOW_DIALOG OFF 
RETURN