You are here: Re: mail() sending in html format (or not) « All PHP « IT news, forums, messages
Re: mail() sending in html format (or not)

Posted by steve on 06/30/05 20:31

| So I'll need to separate headers and message. I'm not sure how it would
| reassemble that though as multi-part. Maybe if I just did a simpler html
| only content with one header.

if you go the mail() route, yes...examples on the net on how to split it up.
yes, you could do just a simple html and be done with it.

| > if you have access to you smtp server's pick up directory, i'd recommend
| > just writing directly to it with the output.
|
| I'll check. I'm not sure how this would help though.

means you wouldn't have to use mail() and you write directly to file...smtp
would pick it up and send it automatically. mail() is fn quircky...i cut out
the middle-man...but then again, i'm working on my or my company's servers
over which i have full command...you may not have cart-blanc.


| Well, I tried it with just one header and I think it's working. Mozilla
| doesn't really show the html styling but I think that's just following
| the default display without adding colors & such. When I reply, it shows
| up as an html table.

FANTASTIC...at least we got rid of the html tags and see it being
interpreted *as* html instead. you can embedd a css an have your html email
refer to it so that your html is a bit more "stylish".

anyway, glad you've gotten this far! the code i gave handles most scenarios
people follow when wanting to send email via php...if it comes in handy down
the road, keep it, use it, modify it, abuse it...just hoped you learned from
it.

ngu later,

me

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация