Forms an email envelope for Plesk email user on basis of the standard set of information (to, subject, message, etc).
Syntax
pm_plesk_mail ($to, $subject, $message, $additional_smtp_headers, $from_header)
Parameters
to
A string value that enumerates email addresses of the recipients.
subject
A string value with the message subject.
message
A string value with the text of the message.
additional_smtp_headers
A boolean value which is true if some extra smtp headers need to be formed, false otherwise. Is false by default.
from_header
A boolean value that is true if the FROM header needs to be added to the letter's envelope, false otherwise. Is false be default.
Returns
A string value that contains the resulting text of the email envelope.
Remarks
A valid to parameter accepts a string with one to many addressees formatted as follows: "Person1 <email@domain.com>, assa@bessa.com, ...". Also, it can accept an array of addressees: array($email1 => Person1, ...)
Include: pm.php.