eZ Community » Forums » Install & configuration » Can't send e-mails
expandshrink

Can't send e-mails

Can't send e-mails

Tuesday 20 August 2013 4:47:01 pm - 3 replies

Hello guys!

I'm trying to send emails with Gmail, but I just can't understand what's happening. I'm always receiving the same message:

"eZSMTPTransport::sendMail:
An error occured while sending or receiving mail. SMTP server did not accept the provided username and password."

I'm sure that I'm using the correct credentials and I've already allowed the service on my google account. I've been looking for a solution on the forum, but nothing that I found helped me to solve.

I'm using eZ Community Project 2013.1 and these are my mail settings:

 [MailSettings]
Transport=SMTP
TransportServer=smtp.gmail.com
TransportPort=465
TransportConnectionType=ssl
TransportUser=alias@gmail.com
TransportPassword=psswrd
EmailSender=alias@gmail.com</span>

Modified on Tuesday 20 August 2013 7:46:12 pm by Caio Cavalcanti

Tuesday 20 August 2013 9:10:22 pm

Hi,

Could you try changing the TransportServer/SMTP to smtp.googlemail.com? I have gmail working on a localhost, so it ought to work.

Regards Robin

Thursday 12 September 2013 9:33:37 am

Hi Caio,

my configurations are

[MailSettings]
Transport=SMTP
TransportServer=smtp.gmail.com
TransportPort=465
TransportUser=<user>@gmail.com
TransportPassword=<password>
AdminEmail=<user>@gmail.com
TransportConnectionType=ssl

and they work perfectly. Could you verify the logs in ezpublish_legacy/var/log ?

Monday 16 March 2015 6:35:08 pm

Hi

stuck at this point too, then I'm back with this old post, but I'm facing the same problem actually.
@Pedro Resende :

in my logs i have this :

[ Mar 16 2015 18:15:43 ] [127.0.0.1] eZSMTPTransport::sendMail:
An error occured while sending or receiving mail. Failed to connect to the smtp server: :465.

 

by the way this is my post :
 http://share.ez.no/forums/setup-design/can-t-send-email-smtp-in-ez-publish-5.4

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from