Jump to content

No email sent out via php's mail() or smtp


sealion2016

Recommended Posts

Hi all,

 

I am having email problem with Prestashop. The problem started when my web designer asked me to wipe out the entire public_html folder so he can upload the designed content.

Ever since Prestashop has not send out any order confirmation, account signup, or even test email.

 

I tried both php's mail() and smtp. Neither send out any test email.

 

Before that prestashop was installed via Softaculous available from my Host Provider. 

Thanks for all the help in advance.

 

- Jack

 

Edit: I want to add that I can send via unix prompt from my account. 

Edited by sealion2016 (see edit history)
Link to comment
Share on other sites

have you checked that the mails folder is there and all email templates are there?

 

YourStoreRoot/mails/xx

 

Where xx is the iso language code for all language you use for your store.

Yes, everything is there. Pretty generic vanilla copy of mails/en etc. When I tried to send a test email, a green message said it was successfully sent. But nothing in the logs regarding the email. 

Edited by sealion2016 (see edit history)
Link to comment
Share on other sites

what is the folder and file permission setting?  usually it should as following

file: 644

folder: 755

 

Also please check if the file and folder's ownergroup is the same as other files you uploaded via your store web application(not via FTP).

From FTP client such as FileZilla, you will see OwnerGroup of each file and folder.

Link to comment
Share on other sites

How about the owner group?

Do you see any different owner group for all files and stores in your store?

 

Otherwise you may have to ask your designer to see if he/she has made any related changes that may affect.

 

I mentioned to him before and he asked me to talk with the Host Support. I already got online chat with my web hosting support and they have no idea. They said they can restore the older backup but that would wipe out the web designer's content. 

So I am stuck between two groups and trying to figure this out. 

 

Thanks your input, Shokinro. If something come up, please feel free to give your input.

Link to comment
Share on other sites

If previous version (backup) works fine, then I guess it must be something related the changes of the theme.

You may try to restore the backup version and make sure it works, then ask you designer to upload the changed files only to see if that works.

Link to comment
Share on other sites

I installed a second Prestashop under a subdirectory and tested out the email issue. With the new fresh installation, I am able to send out a test email via PHP's Mail (). But for some reason I keep getting "Error: Please check your configuration". 

 

I tried to turn debugging on but don't see any debugging in the log. Is there any way that I can debug the test mail? 

Link to comment
Share on other sites

Gosh, this is the most strangest thing I have seen. Found a thread that someone post with similar error.

 

The problem is caused by the different between the SMTP server domain name and the Store Email within Preferences > Store Contacts.

 

https://www.prestashop.com/forums/topic/337873-smtp-email-not-working-ps-1606/

 

 

Thanks for your help Shokinro. Cheers!!!

 

Now how do you set this as SOLVED?

Edited by sealion2016 (see edit history)
Link to comment
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...