Re: mail() sending in html format (or not)
- From: paul <paul@xxxxxxx>
- Date: Thu, 30 Jun 2005 10:49:12 -0700
Yes, thanks I learned and I got it working pretty cleanly now.
steve wrote:
| 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
.
- References:
- mail() sending in html format (or not)
- From: paul
- Re: mail() sending in html format (or not)
- From: steve
- Re: mail() sending in html format (or not)
- From: paul
- Re: mail() sending in html format (or not)
- From: steve
- Re: mail() sending in html format (or not)
- From: paul
- Re: mail() sending in html format (or not)
- From: paul
- Re: mail() sending in html format (or not)
- From: steve
- Re: mail() sending in html format (or not)
- From: paul
- Re: mail() sending in html format (or not)
- From: steve
- mail() sending in html format (or not)
- Prev by Date: Re: mail() sending in html format (or not)
- Previous by thread: Re: mail() sending in html format (or not)
- Next by thread: 2 ques on image upload
- Index(es):
Relevant Pages
|