Jump to content

[SOLVED] E-mail Notification Problem, after upgrade PS v.1.1.05 to PS v.1.3 Final


Recommended Posts

Currently I've notice that e-mail notification upon "new order" & "out of stock" doesn't working anymore in my Prestashop.
This problem came up after I upgrading my prestashop from PS v.1.1.0.5 Final to PS v.1.3 Final
"New Order" mail notification doesn't work in all of my payment method (Bank Wire, PayPal, & Free Order)

There is no error message when order step finish. All order process working like usual, but no mail notification sent ...
I already check again my mail directory and the mail template is there, I also double check all configuration in Back office, and nothings wrong.

Send Message from contact form, and Back Office >> Orders, also custom form in my module is working well.


Can anybody tell me, where is the file (or maybe new script) with function to trigger the mail notification upon "New Order" & "Out of Stock" process in Prestashop v.1.3 Final ?

by the way ... I already check "mailalerts" Module also the mail template in all language that used in my prestashop and all OK, but the mail notification doesn't sent ....

What's wrong with this new code (mailalerts v.2.2) :

if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.html')
Mail::Send($id_lang, $template, $subject, $templateVars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), NULL, configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], NULL, NULL, dirname(__FILE__).'/mails/');



Any help or suggestion would be appreciated

Thanks

Link to comment
Share on other sites

Ou ... ou... ou ....

The problem is in PHP sendmail within my hosting.
Now i'm use SMTP mail, and mail delivery is more quick than before.

SOLVED!

Information for al prestashop user
If you are use the google application service, than you'll better use SMTP mail

Here is the google application configuration for Prestashop SMTP mail:

SMTP Server Address: ssl://smtp.gmail.com

SMTP username: [Your Gmail or Google Apps E-mail address]

SMTP password: [Your E-mail Account password]

Encripttion : None

SMTP Server Port: 465

Link to comment
Share on other sites

I found the solution for this.

It is a missing language dir in
/modules/mailalerts/mails/yourlanguage/

new_order.html
Rename/copy the dir /en/ naar /sp/ and copy this dir to the server on the right place.

Translate the english text into your Language in : new_order.html
There are in total 6 files for translation.
The shop owner received from now on a new arder e-mail.
This applies only for non complete translation packs.
The NL Dutch translation missing the /modules/mailalerts/mails/nl/ also.

Link to comment
Share on other sites

Hi Milian ... :)

If you noticed the thread title, My problem is SOLVED. And if you read my 1st Post also .... there is nothing wrong within my mail template, and there is no error message.

Your solution will be solved the problem for anyone who face the similiar problem and have the error message like this : "...... mail parameter is missing" when finishing the checkout process or within another prestashop feature that have mail sending function.
But won't solved the problem in my case ...

Thanks anyway :)

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...