Email standard structure, + attachment?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
gpig
Forum Newbie
Posts: 15
Joined: Sat Apr 17, 2004 2:52 am

Email standard structure, + attachment?

Post by gpig »

Ive been having a problem for a while now. Ive been trying diff scripts for a mailform that has an attachment options, and I have also messed around with the code. BUT, different mailclients interpret the structure differently and some of them spits out girbish for the attachments, depending on the script and its structure, each client had a problem at some point with a script, I could not get one script to work with them all.

As far as I understand, the MIME boundaries or the encoding are understood diff by the clients. So does someone know of a standard structure that all the clients will understand, so that the mail will know of the attachment ect.

Thanx
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

I'm using phpmailer ( http://phpmailer.sourceforge.net ) and haven't had problems with mail-clients interpreting either HTML or attachments incorrectly.
gpig
Forum Newbie
Posts: 15
Joined: Sat Apr 17, 2004 2:52 am

Post by gpig »

Ill give it a go, thanx
Post Reply