GetSMTPServer

E-mail
Aptilis 1

GetSMTPServer()

implemented: aptilis v1.041 build 0015

GetSMTPServer allows you to get the current SMTP server used on your server. That may be the server indicated in the file aptilis.mail or a server you previously specified with setSMTPserver

The format for aptilis.mail is described with the sendmail commande.

Return value:
Always 0.

Example:

r = getSMTPserver() $
print(r$)
Result:
smtp.a_valid_isp.com

See also:
- SetSMTPServer to set the SMTP server. (and more details about SMTP servers)
- sendmail to send an e-mail.