Re: [PHP] SMTP and changing the character set

2004-05-08 Thread Todd Cary
Thank you both for the help. One more question: can SMPT use the Asian character set since it is 16 bits? Todd Dave G wrote: Todd, Is there a way to specify a character set in a SMTP email? I've found that SMTP is really, really very particular about how you apply spacing and carriage retu

RE: [PHP] SMTP and changing the character set

2004-05-08 Thread Dave G
Todd, > Is there a way to specify a character set in a SMTP email? I've found that SMTP is really, really very particular about how you apply spacing and carriage returns when passing a content type header from PHP. In the PHP mail() function, you want to add the content type header like so: I

RE: [PHP] SMTP and changing the character set

2004-05-07 Thread Chris
SMTP, just like HTTP, uses the Content-Type header. So you can do something like this: Content-Type: text/plain; charset=US-ASCII Just add that to the header argument of the mail function, if that's what you're using. Chris -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED] Se