Advertisement

06.21.2008 at 02:11AM PDT, ID: 23504349
[x]
Attachment Details

mail with php: newlines becomes =0A

Asked by KouKi in Simple Mail Transfer Protocol (SMTP), Email Servers, Email Protocols

Hi,

When a member register in my site, I send him a mail with activation link.

$mailContent =
    "Thank you for your interest in XYZ !\n\n" .
    "In order to activate your account, please click the link below.\n\n" .
    "(If the link .....

I tested on my gmail inbox, and the message appears well.
However recently I had a member alerting me that the message was broken:

Thank you for your interest in XYZ!=0A=0AIn order=
 to activate your account, please click the link below.=0A=0A(If the link

Instead of new lines he get =0A
Message is hard to read and activation URL is broken.

Anyone has an idea on how to solve this problem ?

Thank you very much !!Start Free Trial
[+][-]06.21.2008 at 02:32AM PDT, ID: 21836981

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.21.2008 at 03:04AM PDT, ID: 21837032

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.21.2008 at 03:20AM PDT, ID: 21837059

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Simple Mail Transfer Protocol (SMTP), Email Servers, Email Protocols
Sign Up Now!
Solution Provided By: grblades
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628