Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
include('Mail.php'); include('Mail/mime.php'); $text = 'Text version of email'; $html = '<html><body>HTML version of email</body></html>'; $file = './quote.pdf'; $crlf = "rn"; $hdrs = array( 'From' => 'email@example.com', 'To' => 'firstname.lastname@example.org', 'Subject' => 'Your Quotation' ); $params = array( 'host' => "ssl://mail.xxx.co.uk", 'port' => "465", 'username' => "xxx", 'password' => "xxx" ); $mime = new Mail_mime($crlf); $mime->setTXTBody($text); $mime->setHTMLBody($html); $mime->addAttachment($file,'application/pdf'); $body = $mime->get(); $hdrs = $mime->headers($hdrs); $mail =& Mail::factory('smtp', $params); $mail->send('email@example.com', $hdrs, $body);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Insert Event into Google Calendar using PHP and Google Calendar API||1||61|
|CMD R or Page Refresh Resending Update Query Data from Form||8||48|
|Testrail - Active Directory integration.||4||35|
|Last 4 numbers of a variable||9||20|
Join the community of 500,000 technology professionals and ask your questions.