Recommended Answers
Jump to Postwhat is the most recent error in phpmailer
echo $objMail->ErrorInfo;
Jump to PostAny time I have used phpmailer in the past I have always used smtp. If you would rather use sendmail, I would go with the error that you are getting from phpmailer "Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\kattendance\kmail.php on line 3" …
Jump to PostPost your smtp code.
Jump to PostOK, that was an insane amount of code to send an email. I include "phpMailer/class.phpmailer.php" and here is my code. Tested and works. This really not all that much different than setting up an email client with smtp, it works the same way so I would read the documentation from …
All 15 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.