I'm using PHP Swift_mailer library to send emails to my customers' clients from behalf of customers. I use their SMTP server, port, login, pass:
$transport = Swift_SmtpTransport::newInstance($mail_server['host'], $mail_server['port']);
$transport->setUsername($mail_server['username'])
->setPassword($mail_server['password']);
It worked pretty well for a few months, but now the emails started to appear in a Spam folder for some of my customers?
Is it possible that the reason could be at my end (PHP server) or the problem in in my customer's SMTP server?
Thanks in advance!