Description
Sends out html formatted emails. Uses internally the wp_mail function.
Usage
sitemile_send_email($recipients, $subject , $message , $type, $sender_name, $sender_email)
Parameters
- $recipients – (String) (required) The email address of the recipient.
- $subject – (String) (required) The subject of the email message.
- $message – (String) (required) The content of the actual email message
- $type – (String)(optional, default = html) The type of the email, html or plain text
- $sender_name – (String)(optional, default = empty) Sender name, if left empty will use the bloginfo(‘name’) value
- $sender_name – (String)(optional, default = empty) Sender email, if left empty will use the bloginfo(‘admin_email’) value