문제

For years I relied on PHP's own mail() function to send an email.
I have just started to experiment with swiftmailer and PHP Mailer which allow you to send mail via SMTP.

Does using such a library to send email via SMTP increase your chances of delivering mail successfully compared to PHP's own mail() function?

도움이 되었습니까?

해결책

Those alternatives make life easier, especialy in cases where you want to send UTF-8 content, since that is a very tedious job. First of all the RFC's are not easy reading and the documentation of the php mail() function is incomplete, and there are even some mistakes in it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top