Email Functions
Description
Alpha Anywhere provides the following email functions for using Alpha Anywhere's built-in email program.
- Name
- Description
- a5_email_addr_extract Function
Extract an email address from a string
- A5_EMAIL_FILTER_BUILDER Function
Display a filter builder dialog for e-mail messages. Return filter
- a5_email_name_extract Function
Given a name/email address, extract the name. If there is no name, return the address
- a5_email_ob_to_ib Function
Import an Alpha Five v5 outbox into an Alpha Five v6 inbox
- A5_EMAIL_PROFILES_ENUM Function
The A5_EMAIL_PROFILES_ENUM() function returns a list of all email profiles.
- A5_EMAIL_VALID Function
This function has been deprecated. A5_IS_EMAIL_VALID() should be used as a replacement. The A5_EMAIL_VALID() function determines if an email address is properly formatted. It does not validate the address itself.
- a5_get_saved_email Function
Retrieves the contents of an email message that was saved in an Alpha Five dictionary. If the dictionary_name is blank, then current table/set dictionary is assumed.
- A5_IS_EMAIL_VALID Function
The A5_IS_EMAIL_VALID() function reports whether email addresses are properly formatted. Multiple email addresses should be separated by commas or semicolons.
- A5_RUN_NETMAILER_JOB Function
The A5_RUN_NETMAILER_JOB() function runs a Netmailer job, optionally hiding the user interface.
- A5_RUN_SAVED_ZIP_JOB Function
The A5_RUN_SAVED_ZIP_JOB() function runs a saved Zip job. Zip settings are created using the Zip Workspace dialog box (accessed from the Tools > Zip Workspace or Tools > Send Workspace command).
- a5_savetowebappemailoutbox Function
Used in a Web application to save an e-mail to the e-mail outbox
- a5_showemailsettings Function
Display the settings for the email_send_noprofile() function.
- EMAIL_CLIENT Function
Display the Alpha Anywhere e-mail client.
- email_client_auto Function
Load the appropriate email client specified in the email profile.
- EMAIL_CLIENT_EXTERNAL Function
Display the default external e-mail client. Maximum of 100 recipients.
- EMAIL_GET_ACTIVE Function
Returns the name of the active email profile
- EMAIL_GET_FIELD Function
The EMAIL_GET_FIELD() function returns a field from the header of an email message.
- EMAIL_POP_CLOSE Function
The EMAIL_POP_CLOSE() function attempts to gracefully close a connection with a POP3 server.
- EMAIL_POP_HEADERS Function
The EMAIL_POP_HEADERS() function returns only the header for message number nMessage. pSocket must be an active structure created with EMAIL_POP_OPEN().
- EMAIL_POP_LIST Function
The EMAIL_POP_LIST() function returns an array ( pList.bytes ) containing byte counts for each message on the server. The array index is equal to the message id on the server.
- EMAIL_POP_OPEN Function
The EMAIL_POP_OPEN() function opens a connection to a POP3 server and logs in.
- EMAIL_POP_RETR Function
The EMAIL_POP_RETR() function retrieves a single message from a POP3 server. The connection must have been previously opened with EMAIL_POP_OPEN(). , i.e. the pSocket.s must be an open connection
- EMAIL_POP_RETR_UI Function
The EMAIL_POP_RETR_UI() function displays the Download Email dialog box and returns a count of messages on your email server that match your filter specifications.
- email_profile_add Function
Add an email profile.
- email_profile_delete Function
Delete an email profile.
- EMAIL_PROFILE_LOAD Function
The EMAIL_PROFILE_LOAD() function loads the named profile into the Profile dot variable.
- EMAIL_PROFILE_SAVE Function
Write an email profile to the registry. The EMAIL_PROFILE_SAVE() function saves an email profile to the Windows registry.
- EMAIL_PROFILE_VALID Function
The EMAIL_PROFILE_VALID() function checks the specified email profile and returns TRUE (.T.) if it has all necessary information; otherwise, it returns FALSE (.F.).
- EMAIL_READER_OPEN Function
The EMAIL_READER_OPEN() function opens the Email Reader program.
- EMAIL_RECEIVE Function
Receive email messages using Alpha Anywhere's built-in e-mail facility.
- EMAIL_SAVE_ATTACH Function
The EMAIL_SAVE_ATTACH() function saves the attachments stored in a message downloaded with EMAIL_POP_RETR() and returns a list of filenames saved to disk.
- EMAIL_SELECT_PROFILE Function
The EMAIL_SELECT_PROFILE() function opens a dialog box with a list of all profiles and allows the user to select one. The dialog also has an option to set the selected profile as the active profile.
- EMAIL_SEND Function
Sends an e-mail using the built-in, Alpha Anywhere e-mail feature. Set text_type to "html" for HTML email. If lSilent = .T., email_send will throw an error rather than show a message box.
- EMAIL_SEND2 Function
Send an email message
- email_send_gmail Function
Send email using the Gmail SMTP server.
- Email_send_low Function
Send an email message without using a pre-configured email profile.
- email_send_mandrill Function
Sends an email message using the Mandrill mail delivery service. The minimum set of properties in a dot variable to pass in are: .send_to, .message_html, .subject, .from_email
- email_send_noprofile Function
Sends an e-mail message. All e-mail settings are passed in. Does not use an Alpha Anywhere e-mail profile.
- email_send_sendgrid Function
Sends an email using the SendGrid service.
- email_send_sparkpost Function
Send an email using the SparkPost service.
- email_send_web Function
Sends an email using either the internal SMTP server or SparkPost using the settings defined in Web Project Properties.
- EMAIL_SET_ACTIVE Function
Set active email profile. The EMAIL_SET_ACTIVE() function sets Profile_Name to be the active profile.
- EMAIL_SMTP_CLOSE Function
The EMAIL_SMTP_CLOSE() function closes a connection with an SMTP email server.
- EMAIL_SMTP_OPEN Function
The EMAIL_SMTP_OPEN() function opens a connection with a SMTP server. This function, along with EMAIL_SMTP_SEND() and EMAIL_SMTP_CLOSE(), will allow you to send email from a computer that does not have an Alpha Anywhere email profile.
- EMAIL_SMTP_SEND Function
The EMAIL_SMTP_SEND() function sends a message through a SMTP mail server. This function, along with EMAIL_SMTP_OPEN()and EMAIL_SMTP_CLOSE(), will allow you to send email from a computer that does not have an Alpha Anywhere email profile.
- emailsendcdo Function
Use the Microsoft CDO ActiveX object to send e-mail rather than the Alpha Anywhere's' built-in socket object.
- SYS_RESOLVE_URL Function
Link to a URL (mailto:,http:,ftp: etc).
See Also