ph_sendemailfile PowerHome formula function
Description
Sends an email message with file attachments.
Syntax
ph_sendemailfile ( s, s, s, s )
Argument Description
s The email addresses you wish to send a message to. Separate multiple email addresses with commas.
s The subject of the email.
s The text of the email message.
s The full path and filename of the file to attach to the email. Separate multiple files with the | (vertical bar) character.
Return value
Integer. Returns 0 if successful, 1 if an error occurred while logging in to the mail system, and 2 if an error occurred while sending the email message. You can specify multiple recipients by separating the email addresses with commas. Specify multiple files by separating the path/filename with the | (vertical bar) character.