Function sendmail
This function sends an email to the specified recipient(s). It uses the mail_type settings and webmaster_email variable.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Post.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Post.php
array |
$to |
The email(s) to send to |
string |
$subject |
Email subject, expected to have entities, and slashes, but not be parsed |
string |
$message |
Email body, expected to have slashes, no htmlentities |
string |
$from = null |
The address to use for replies |
string |
$message_id = null |
If specified, it will be used as local part of the Message-ID header. |
boolean |
$send_html = false |
Whether or not the message is HTML vs. plain text |
integer |
$priority = 3 |
The priority of the message |
boolean |
$hotmail_fix = null |
Whether to apply the "hotmail fix" |
boolean |
$is_private = false |
Whether this is private |
boolean
|
Whether ot not the email was sent properly. |