Category : email

I have an Ubuntu with sendmail and maildev installed. I’m running maildev : $ maildev MailDev webapp running at http://0.0.0.0:1080 MailDev SMTP Server running at 0.0.0.0:1025 I’m using PHP to send mail : mail(‘[email protected]’,’test Mail ‘ . __FILE__,’test’,’From:[email protected]_domain.com’); with php.ini : [mail function] SMTP = localhost smtp_port = 1025 However, the mail is not catched ..

Read more

I’m trying to contain some HTML in an email receipt based off a form submission, however all the html in $message2 is being sent as plain text. Code: $to = "[email protected]"; // this is your Email address $from = $_POST[‘EMAIL’]; // this is the sender’s Email address $first_name = $_POST[‘FIRSTNAME’]; $last_name = $_POST[‘SURNAME’]; $subject = ..

Read more