php - How to send email through server alias mail -


I created a script that uses the IPN of PayPal. After purchasing the data of all customers, put in the database are fully functioning. But recently my hosting provider's server does not send email, I do not understand the reason. I am trying to create a nickname email server to send email of contact form via alias mail and it is working! Now I want to send a license with the alias mail server, in fact I send an email to this code:

= 'From:'. $ AdminEmail "\ r \ n" 'reply-to:'. $ AdminEmail "\ r \ n" 'X-Mailer: PHP /' phpversion (); Mail ($ $, $ theme, $ message, $ header) *

In the past this code works well but does not work much anymore. How can I send an email through email?

The result of the discussion in the comments is that your provider prevents you from converting it with: For email The field is sent by php scripts to you.

As a result, you need to use an external mail server that allows you to do this or if they can provide another (perhaps payment) solution, talk to your provider. / P>


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -