PHP sending problems

vitaly's picture
Print this pagePrint this pageQuestion:
I am trying to send an email using my PHP program and I am getting an error: 500 < sitename > is not a valid email. What should I do?
Some PHP programs (depending on which package you use) actually send incorrectly formatted email adresses. The correct email address in the SMTP protocol exchange looks like this: "Your Name" <> In some cases, where the name on the email is not written using latin characters, it will be encoded and will look like this: "=?KOI8-R?B?7sHExdbEwSDn1cvP18E=?=" <> This is an example of Russian encoding in the From: address.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h2> <h3>
  • Use <!--pagebreak--> to create page breaks.
  • Lines and paragraphs break automatically.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent spam
Enter the code without spaces and pay attention to upper/lower case.