SYS(8015) - Send Emails via SMTP
|Top Previous Next|
Sends an e-mail using the SMTP protocol.
SYS( 8015, cFrom, cTo, cSrv, cUser, cPwd, cSubject, cBody )
Your e-mail address. This can be any valid or invalid e-mail address. However, some SMTP servers only accept e-mails for transport that match the user account.
The e-mail address of the recipient.
The name or IP address of the sending SMTP server. You either need an account on this SMTP server, or the server must relay mails anonymously.
The user or logon name for the SMTP server, if you must provide the server with logon credentials.
The password for the SMTP server logon.
The subject line for your e-mail address. Although this parameter can be an empty strings, it's recommended to specify a subject. Otherwise spam filters might reject your message.
The actual content of the mail as plain text. There's no limit for the length of the message in Guineu. However, most SMTP servers impose a maximum size.
Sending mails requires internet connectivity on the sending machine. You can use e-mails on mobile devices as an alternative to a printed receipt, because printing is quite difficult to implement on mobile devices.