Xbasic
EMAIL_PROFILE_LOAD Function
Syntax
Result_Flag as L = email_profile_load(C profile ,P em )
Arguments
- profileCharacter
The name of a profile specified at View > Settings > System > Email.
- emPointer
A dot variable that receives the values of Profile_Name.
Returns
- Result_FlagLogical
.T. = Profile found. .F. = Profile not found.
Description
The EMAIL_PROFILE_LOAD() function loads the named profile into the Profile dot variable.
Example
DIM pEmail as P ? email_profile_load("AT&T Broadband", pEmail) = .T. ? pEmail = active_profile = "Default" attach_path = "[exe_folder]\attachments" check_interval = 10 client_alias = "George Washington" client_hostname = "mail.alphasoftware.com" client_identity = "[email protected]" client_password = "alpha" client_username = "george" formatted_send_option = 4 inbox = "C:\Program Files\A5V7\a_email.dbf" mail_hostname = "mail.alphasoftware.com" mark_read = .T. name = "Default" nSMTPAuthSelection = 1 outbox = "C:\Program Files\A5V7\a_email.dbf" pop_first = .F. pop_port = 110 POPSecureConnectionType = "No" receive_autodelete = .F. receive_limit = -1 +sendusing. smtp_password = "" smtp_port = 25 smtp_username = "" SMTPSecureConnectionType = "No" TimeoutSeconds = 5 xmailer = ""
See Also