Answer the question
In order to leave comments, you need to log in
Is there a convenient library for sending emails via smtp in php?
I would like some kind of class that would normally send the necessary letters via smtp in html utf-8 format and be able to attach files with an attachment. Yandex server smtp, respectively, should be able to work through ssl.
for some reason I can’t find it yet, on the same github it seems to find a lot on php smtp, but there are a lot of incomprehensible things with incomprehensible or missing documentation. and you can sit and try each for a long time, then still try to understand why the sender's name does not understand Cyrillic or the subject of the letter is normally displayed for half of the mail clients, while others do not.
I think that the question is not at all new, and there is somewhere a good script with sane documentation and functions...
Answer the question
In order to leave comments, you need to log in
Even two! SwiftMailer, PHPMailer
https://github.com/swiftmailer/swiftmailer
https://packagist.org/packages/swiftmailer/swiftmailer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question