Skip to main content

Name

msg:inject — Use this function to send mail

Synopsis

msg:inject(mailfrom, rcptto);

mailfrom: string
rcptto: string

Description

Use this function to send mail. mailfrom is the address of the sender in the form of "localpart@domain". rcptto is the address of the recipient in the form of localpart@domain. If you want to send this mail to multiple addresses, separate the addresses using a ‘,’.

Enable this function with the statement require('msys.extended.message');.

See Also

Was this page helpful?