473,394 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

mail sent by php to outlook missing two characters after every equals sign

hi, not sure if this is a php issue or an outlook issue or what.

trying to send an html message via php, and it looks fine in hotmail,
yahoo, and earthlink webmail, but when i receive the same message (via
earthlinkg) into outlook, there are two characters missing after every
equals = sign. of course, this destroys the html. (actually, i
haven't tried sending any plain text versions that include =. maybe
it messes up those too??) any ideas?

i did see one post about it here:
http://www.experts-exchange.com/Web/..._20981077.html
but these people want money to show you the answer. if anyone here
knows what's going on (or if anyone has a subscription to that site!),
please help!

thanks,
-karen
Jul 17 '05 #1
5 4761
karen wrote:
hi, not sure if this is a php issue or an outlook issue or what.

trying to send an html message via php, and it looks fine in hotmail,
yahoo, and earthlink webmail, but when i receive the same message (via
earthlinkg) into outlook, there are two characters missing after every
equals = sign. of course, this destroys the html. (actually, i
haven't tried sending any plain text versions that include =. maybe
it messes up those too??) any ideas?

i did see one post about it here:
http://www.experts-exchange.com/Web/..._20981077.html
but these people want money to show you the answer. if anyone here
knows what's going on (or if anyone has a subscription to that site!),
please help!

thanks,
-karen

actually since you're using HTML ( and not XML ) you don't really need to
quote anything but the $diatery2 variable. Take the quotes off of everything
else:

input type=text/html size=30 value=none name=\"$diatery2\"

See what happens. You may also have a loose quote somewhere else in your $html
that you should try to find.

-DG-

Jul 17 '05 #2
the code listed here
http://www.experts-exchange.com/Web/..._20981077.html is not
mine; i did not post that message. i just found it while looking for the
answer to my question.

and quotes aren't really the problem. that problem is that the next two
characters after every = are missing, so

href=http://blah.com becomes href=tp://blah.com. not good! has anyone
encountered this problem before??

thanks,

-k

"Data Goob" <da******@hotmail.com> wrote in message
news:<JG*******************@fe38.usenetserver.com> ...
actually since you're using HTML ( and not XML ) you don't really need to quote anything but the $diatery2 variable. Take the quotes off of everything
else: input type=text/html size=30 value=none name=\"$diatery2\" See what happens. You may also have a loose quote somewhere else in your $html
that you should try to find. -DG-



Jul 17 '05 #3
karen wrote:
hi, not sure if this is a php issue or an outlook issue or what.
Maybe both. ;o)
trying to send an html message via php, and it looks fine in hotmail,
yahoo, and earthlink webmail, but when i receive the same message (via
earthlinkg) into outlook, there are two characters missing after every
equals = sign.


Sounds like the mail headers say it's encoded, with quoted-
printable encoding (RFC2045 sec. 6.7) for example, but it
isn't. What headers are you sending?

[ ... ]

HAGW!

--
Jock
Jul 17 '05 #4
Hello,

On 09/11/2004 10:46 AM, karen wrote:
hi, not sure if this is a php issue or an outlook issue or what.

trying to send an html message via php, and it looks fine in hotmail,
yahoo, and earthlink webmail, but when i receive the same message (via
earthlinkg) into outlook, there are two characters missing after every
equals = sign. of course, this destroys the html. (actually, i
haven't tried sending any plain text versions that include =. maybe
it messes up those too??) any ideas?

i did see one post about it here:
http://www.experts-exchange.com/Web/..._20981077.html
but these people want money to show you the answer. if anyone here
knows what's going on (or if anyone has a subscription to that site!),
please help!


It seems that you have specified in the Content-Type header that the
message uses quoted-printable but it is not being properly encoded.

You may want to try this class that is capable of encoding any kind of
message parts as quoted printable:

http://www.phpclasses.org/mimemessage
--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #5
On Sat, 11 Sep 2004 06:46:15 -0700, karen wrote:
i did see one post about it here:
http://www.experts-exchange.com/Web/..._20981077.html
but these people want money to show you the answer. if anyone here
knows what's going on (or if anyone has a subscription to that site!),
please help!

thanks,
-karen


Check out the mail page on the php site...
http://uk.php.net/mail

There is a qp_printable function submitted by a user there which will
encode your mail as quoted printable which is what Outlook seems to be
expecting.

In quoted printable the = signs signifies that the next two chars specify
the character code eg. '=34' would a quote.

I haven't tested this myself but I know a little about the quoted
printable problems as I once had to write a mailbox program for a
support team and process quoted printable emails.

----------------------------------------------------
.~.
( V ) Anthony Ogden
// \\ Visually Vibrant Manager
// \\ www.visuallyvibrant.com
/( )\
/_\^/_\ SMART COMPUTING...
www.slackware.com
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Google Mike | last post by:
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to...
0
by: chausan | last post by:
Update ++++++ All attchment scanned with norton anti-virus w/ yahoo mail service and they all reported infected with virus Worm.Automat.AHB. ======================================== From:...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
3
by: Michael | last post by:
Hi folks, i have to build a web-application for the internet where the user gets a form where he can fill in his name, adress and so on. He also can provide a credit number. The data will be...
6
by: Bernhard Straub | last post by:
Hi, using vb .NET 2003 I am trying to open the standard mail client. The mail window should open and the user should be able to choose the recipient, add some text to the mail etc. Using...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
0
by: Mads Westen | last post by:
Hi, I'm trying to code a application that can create a new email in Outlook I have coded my project in VS 2003, but now I have upgraded to VS 2005. I can not build my project anymore, I get a...
10
by: amygdala | last post by:
Hi all, Another problem that has been bugging me for a while now, but which I swept under the rug too long too now is a mail encoding problem at my (shared) webhost. The problem is that on...
1
by: =?Utf-8?B?UldS?= | last post by:
I have tried to send an email to an unusually long e-mail address, there are 23 characters before the @ sign, I get a message that Outlook does not recognize the address. Is that due to the length?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.