Jump to content
kevcli

[SOLVED] Mail configuration problem

Recommended Posts

Hi all,

 

Have a good day.

 

I just meet a mail problem, And tried several ways but can't solve it.

 

I config the email with the info:

 

SMTP server: smtp.mail.google.com / tried with smtp.gmail.com ( same problem)

 

SMTP user: mygmail@gmail.com ( never wrong, tried to copy past and type also got same problem)

 

SMTP password: mygmail@gmail.com ( tried to write to notepad then copy past to gmail and correct, then past same thing to this field. So never wrong)

 

Encryption: SSL

 

Port: 465

 

attached the screenshot below.

 

 

// I also put my email and do all step as this totorial :
 

In /tools/swift/Swift/Message.php line #79
Change

$this->setFrom("");

To

$this->setFrom("youremail@yourdomainname.com");
 
In /tools/swift/Swift.php after line 370
if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from);

Add the following code:

if (!$has_reply_to[0])
$message->setReplyTo($from->getAddress());

 

Now try sending a contact message....

 

If it still doesn’t work, make the following change:

In /tools/swift/Swift/Plugin/MailSend.php line # 159
Add

$params "";
 
--> but all seam again me. same result :((
 
Can any body help please!
 
these is error and my prestashop version:
 
 
Error: Please check your configuration
Authentication failed using username 'kebsorder@gmail.com' and password '********'

 

PrestaShop™ 1.5.6.1

 

 

I swear that my gmail account correct, because it still work until last 2 day. automatic get the problem and can't solve. :|

post-760116-0-08687100-1398417296_thumb.png

post-760116-0-77189500-1398417302_thumb.jpg

Edited by vekia (see edit history)

Share this post


Link to post
Share on other sites

have you got possibility to test another external email service?

Share this post


Link to post
Share on other sites

have you got possibility to test another external email service?

I tried with yahoo and other gmail account. got the same problem.

 

But as a magic, today it work. I didn't touch anything after create this topic.

 

I think it should be a problem from hosting. But I don't know what it is.

 

Anyway, Thank you very much.

Share this post


Link to post
Share on other sites

i bet on hosting problems :)

thank you for information that it works now,

im going to mark this topic as solved.

with regards,

Milos

Share this post


Link to post
Share on other sites

[solution] Try this: change the mail account password to plain alpha-numeric with out any symbols. It worked for me.

 

I am using PS 1.6.0.5 on NGINX.

 

Regards

Binu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More