Jump to content

Recommended Posts

Hello All,

I am using Prestashop 1.4.7.0 for a site. I have wrote a script to import the customers and addresses to the site and it is done well. During that time i did used validation for data. Now when an old customer place an order or retrieves password, he got an email like

 

Hello {first_name} {last_name}

 

Means that the data to be passed to the email templates are not passed to it and user gets emails with any related data. For new customers it is fine and all emails are working nicely.

 

While checking all things i placed my email in the To section of the Mail.php class and i was also getting fine emails.

 

At last i started to place prestashop validation on email addresses in the sending emails section. What i got is that the email for old customers took from the database are not valid emails :( .

Also i got that the first name is also invalid :( .

 

It is very weird and spent about two weeks to fix this issue.

 

Please help me with this problem. I will be very thankful.

 

Thank you

Link to comment
Share on other sites

×
×
  • Create New...