Plugins
SendMail
Install plugin SendMail using the new admin.
Attribute | Description | Note |
---|---|---|
subject | Subject | This is required |
to | Recipient | If not provided it will use the SenderEmail for the store |
from | Sender | If not provided it will use the SenderEmail for the store |
fromname | Sender Name | If not provided it will use the SenderName for the store |
plaintext | true/false if the email is plain text | |
attachments | Files to send with the email | A comma separated list of attachments to add to the email. Location relative to the web server. |
replyto | Reply To |
For To, ReplyTo and Attachments you can use ”,”, ” ” and ”;” to set the field to a list of emails.
Example usage
This example will send a copy of the mailorderhtml to someone.
Another example
This is typically added to updatenewuser to send an email to the back office when a new customer is registered in the shop.
Since to
is not defined here it will send the email to the configured SenderEmail in Zpider.