Required Parameters |
-From |
The email address for the From field. |
-To |
The recipient of the message. Multiple recipients can be specified separated by commas. |
-Subject |
The subject for the email message. |
-Body |
The text body for the email message. This parameter is required unless an -HTML body is specified. However, it is always recommended that HTML messages contain a plaintext version fo the same body. |
Optional Parameters |
-Date |
Optional date for the message. Defaults to now. |
-CC |
Optional carbon-copy recipient for the message. Multiple recipients can be specified separated by commas. |
-BCC |
Optional blind-carbon-copy recipients of the message. Multiple recipients can be specified separated by commas. |
-HTML |
The HTML body for the message. Can be specified in addition to the -Body tag to create a multi-part message. |
-ContentType |
The content-type for the message. Usually handled by default. |
-CharacterSet |
The character set for the email message. Usually handled by default. |
-TransferEncoding |
The transfer-encoding for the message. Usually handled by default. |
-ContentDisposition |
The content-disposition of the email message. Usually handled by default. |
-ExtraMIMEHeaders |
Allows an array of extra MIME headers to be specified. These will override matching headers that are already specified in the email. |
-Attachments |
An array of file names can be specified. Each of the files will be included as an attachment to the message. |
-Sender |
An optional field that allows the sender of the email message to be overridden. |
-ReplyTo |
An optional field that allows the Reply-To header of the email message to be overridden. |