Soha 8084 Posted November 6, 2008 Share Posted November 6, 2008 helloplease help me configure the smtp correctlyI set them like this:SMTP server : www.becute.netSMTP user : [email protected]password: blankEncryption : noneport : 25_______________________________________it sends me notification email but not the costumerthe costumer gets no emails from the store at allplease please help Link to comment Share on other sites More sharing options...
Soha 8084 Posted November 6, 2008 Author Share Posted November 6, 2008 when I try to write a comment to the costumer and choose ok to send email to costumer it says:an error occured while trying to send messege to costumer Link to comment Share on other sites More sharing options...
Soha 8084 Posted November 8, 2008 Author Share Posted November 8, 2008 am still waiting for an answer Link to comment Share on other sites More sharing options...
Leboeuf Posted November 10, 2008 Share Posted November 10, 2008 The CORRECT format is as below:SMTP Server = mail.your_domain_nameSMTP User = Your user_name otherwise leave blankSMTP Password = Your pass_word otherwise leave blankPORT = 465 or 587 - otherwise Ask your hosting company which PORT NUMBER to use.Good Luck.Yemmi Link to comment Share on other sites More sharing options...
Soha 8084 Posted November 10, 2008 Author Share Posted November 10, 2008 thanks will tryusername and pass for what?? the main ones I log in with to my hosting account?? or the ones I log in with to my webmail?? Link to comment Share on other sites More sharing options...
Leboeuf Posted November 10, 2008 Share Posted November 10, 2008 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 More sharing options...
Soha 8084 Posted November 11, 2008 Author Share Posted November 11, 2008 I tried and it didn't work Link to comment Share on other sites More sharing options...
Leboeuf Posted November 12, 2008 Share Posted November 12, 2008 Sorry it didn't work. I am suffering from the same problems and wish someone would offer to assist.If I find a solution, I'll let you know.Yemmi Link to comment Share on other sites More sharing options...
Leboeuf Posted November 13, 2008 Share Posted November 13, 2008 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!RgdsYemmi Link to comment Share on other sites More sharing options...
Paul C Posted November 13, 2008 Share Posted November 13, 2008 It's USE SMTP, but adjust the timeout value! Link to comment Share on other sites More sharing options...
Leboeuf Posted November 14, 2008 Share Posted November 14, 2008 Paul - Ooops! Yes. it's SMTP not PHP Mail.Apologies if I misled anyone.Yemmi Link to comment Share on other sites More sharing options...
MaryRenee Posted November 16, 2008 Share Posted November 16, 2008 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 More sharing options...
Leboeuf Posted November 17, 2008 Share Posted November 17, 2008 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.RgdsYemmi Link to comment Share on other sites More sharing options...
MaryRenee Posted November 18, 2008 Share Posted November 18, 2008 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 More sharing options...
Recommended Posts