We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Unable to send email via SMTP

How Do I?

deswork's avatar
deswork
93 posts
9 years ago
deswork's avatar deswork

Hi, I’m using SMPT email protocol in EE v2.10.1

when I try and send an email via the communicate form, I get the following error.

250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
from: 250 ok
to: 250 ok
data: 354 go ahead
451 See http://pobox.com/~djb/docs/smtplf.html. 
The following SMTP error was encountered: 451 See http://pobox.com/~djb/docs/smtplf.html. 
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

I’ve contact the host and everything is configured as I’ve sent mail via smtp on none EE sites.

If I use the same SMTP details on an EE3 site I developing locally and try send via the communication form I get the same error but with these notices.

Notice

fwrite(): send of 5 bytes failed with errno=32 Broken pipe

ee/legacy/libraries/Email.php, line 2042 hide details

Severity: E_NOTICE

Notice

Trying to get property of non-object

ee/legacy/libraries/Email.php, line 2141 hide details

Severity: E_NOTICE

Could someone please help me with this.

Cheers

Wayne.

       
deswork's avatar
deswork
93 posts
9 years ago
deswork's avatar deswork

After a bit more digging around I’ve managed to get mail sending via SMTP.

Our server was using qmail to send mail. I changed to Postfix and now I’m able to send mail via the SMTP protocol.

Wayne.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.