msg:inject

March 26, 2020

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 "[email protected]". rcptto is the address of the recipient in the form of [email protected]. 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

msg:build