Jump to content

How do I Modify mail php function?


Recommended Posts

prestashop use SWIFT mailer and it is much better than code you proposed in link above,

check file: classes/Mail.php

Hi Vekia,

 

Are you sure its better? Because all my automated mails are going directly to the client's spam folder. How can I fix this?

 

Thanks in advance!

Link to comment
Share on other sites

yea El Patron has got right, your messages are treated as a SPAM because of SPF, SPF it's a "Sender Policy Framework" - it is an email validation system designed to prevent email spam by detecting email spoofing (sending emails from servers not related to email domain)

Link to comment
Share on other sites

wouldn't it be 'much' easier to just use your domains email name?  that is what the problem is, i.e.  trying to use a hotmail from your ps...

 

you would be better off using your gmail and setting the mail servers for gmail pop 3

 

Hi El Patron,

 

This might be a foolish question, but how do I use my domain mail name? I'm not really sure if I'm understanding. A week ago I configured my own SMTP server in the email options using my gmail account but yet the emails are still going to the client's spam folder. So I changed it back to PHP mail were the same problem still occurs.

 

About Vekia's reply, I asked for help from my server host and they told me they modify the SPF records and they are not sure why my emails are still going to the spam folder.

 

By the way, I use VPS plan, is it relevant to this issue? 

 

Thanks in advance! 

Link to comment
Share on other sites

using your own domain as mail, this is done by setting up your mail server on your hosting account for that domain...you basically end up just adding the email address(es) you want to do.

 

You do not need to use SMTP, normal php mail works fine.

 

 

 

 

for gmail pop 3, it's all about setting up the MX records...

 

start with this set up and see if it differs from what you have done

 

http://support.google.com/a/bin/answer.py?hl=en&answer=33352&topic=2683820&ctx=topic

Link to comment
Share on other sites

using your own domain as mail, this is done by setting up your mail server on your hosting account for that domain...you basically end up just adding the email address(es) you want to do.

 

You do not need to use SMTP, normal php mail works fine.

 

 

 

 

for gmail pop 3, it's all about setting up the MX records...

 

start with this set up and see if it differs from what you have done

 

http://support.google.com/a/bin/answer.py?hl=en&answer=33352&topic=2683820&ctx=topic

 

 

Hi El Patron!

 

Okay, I'm going to use the php mail function and set the mx records in the whm and then tell you the result.

 

Thanks!

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...