wp_mail Wordpress function


Description:

Send mail, similar to PHP's mail


Syntax:


Arguments:

(string|array) $to Array or comma-separated list of email addresses to send message.
(string) $subject Email subject
(string) $message Message contents
(string|array) $headers Optional. Additional headers.
(string|array) $attachments Optional. Files to attach.


Return Type:

(bool) Whether the email contents were sent successfully.


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_mail


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×