Jump to content

help SMTP settings


Recommended Posts

The CORRECT format is as below:

SMTP Server = mail.your_domain_name

SMTP User = Your user_name otherwise leave blank

SMTP Password = Your pass_word otherwise leave blank

PORT = 465 or 587 - otherwise Ask your hosting company which PORT NUMBER to use.

Good Luck.

Yemmi

Link to comment
Share on other sites

You could try both User-names amd pass_words and see which on works or not. However, my guess is you probably require the User_Name and password you use to access your hosting account via your Control Panel, since that is normally the "Universal" login criteria for all hosting services.

As very last resort, you might want to raise a Trouble Ticket asking your hosting provider to provide you with U/Name and P/Word to enable your system access SMTP.

Good luck,

Yemmi

Link to comment
Share on other sites

As I previously mentioned to you, I had the same problem, but its now all fixed thanks to Paul C in this forum. I have posted the solution below.

Here is your solution.

(1) Use PHP () Mail in Back Office and NOT SMTP

(2) Carry out the following coding change

(3) I’ve been working on something similar today. Can you maybe try something?

In /classes/Mail.php (around line 64) you should find:

$connection->setTimeout(4);



Try commenting this line out:

//$connection->setTimeout(4);



That will use the default timeout of 15 seconds, and it may be enough to get this to come to life.

Recommendations by Paul C which has worked for me!

Rgds

Yemmi

Link to comment
Share on other sites

I am having the same issues, and I did do the coding change suggested here for the timeout phrase.

I am using SMTP, but no emails are going through. Does anyone have any answers? :)

I have tried so many different SMTP settings, but nothing works. I always get an error message on the Front Office page when I send a 'contact us' message. It states 'There is 1 error :an error occurred while sending message'.

My explanation of the problem is below:



My web host provider is GoDaddy.com and I have tried both PHP and SMTP settings.

When I first downloaded Prestashop, the contact form from the front office delivered mail successfully.

After adding my inventory and setting up the shipping costs, the contact form from the front office no longer delivers mail successfully.

Also, my first test orders do not deliver any mail messages. No order confirmation, no order receipt, and no order updates from the Back Office 'statuses' tab.

Only the Paypal messages are delivered to the merchant and customer.

My Email Alerts Module is installed with both alerts for emails and inventory checked.

I have attached screen prints of some of the options I have tried for the Back Office>> Preferences>> Emails screen.

When I set the mail preferences to PHP, I get no error message from the contact form, but no email is delivered.

When I set the mail preferences to SMTP (I have tried many different combinations), I always get an error message and no mail is delivered.

Thank you for any help you can offer!

Have a good day!

MaryRenee'

Link to comment
Share on other sites

Hi,

I had ALL the issues you mentioned in your email, however, mine were fixed following the coding changes.

My sneaky suspicion is that GoDaddy has your mail server "a long way away" (e.g. might even be on a RAID Server) from your smtp.server which appears to be causing you issues. Might I suggest that instead of commentining out the 4 seconds coding line, that you instead restore it and change it to 60 seconds and see what happens. Right now, you only have the benefit of the default 15 seconds which works well for me, however, I am learning fast with Presta Shop that there's NO single size fits all, not least beacuse of the vagaries and imponderables that hosting companies introduce into an already interesting 'soup'!

Let me know how you got on after implementing the chnage suggested above.

Rgds

Yemmi

Link to comment
Share on other sites

Yemmi,

Thank you so much for being helpful! I did try uncommenting and changing the timeout line of code to 60 seconds, but I still get errors when I try to use the SMTP setting.

PHP still shows a success message, but no mail comes through.

For now, I'm giving up on fixing this one myself (I just don't have any clue where to go next), so thankfully a generous Prestashop team member is going to look at it for me.

Have a great day!

MaryRenee'

Link to comment
Share on other sites

×
×
  • Create New...