beatsforthemind
beatsforthemind

Reputation: 877

How to configure Swiftmailer to use a server using CRAM-MD5 authentication?

The email server I am using to send mail using the Swiftmailer library has switched from a normal login to CRAM-MD5 authentication. My Swfitmailer instances no longer work with this configuration. Is there a way to set up the transport to work with CRAM-MD5?

Upvotes: 2

Views: 689

Answers (1)

beatsforthemind
beatsforthemind

Reputation: 877

Found it. In the transport set:

->setAuthMode('cram-md5')

Upvotes: 2

Related Questions