Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

E-mail as HTML
Hi everyone.

In PHP, how do I submit data by e-mail as HTML to a specified address? And where can I 
find samples of that in http://www.php.net/ ?

Thanks & regards,
Hafidz

Report this thread to moderator Post Follow-up to this message
Old Post
Hafidz Abdullah
08-26-04 08:55 AM


Re: E-mail as HTML
Hello,

On 08/26/2004 01:44 AM, Hafidz Abdullah wrote:
> In PHP, how do I submit data by e-mail as HTML to a specified
> address? And where can I find samples of that in http://www.php.net/
> ?

You need to compose a multipart/alternative message that includes an
HTML part and a text part for e-mail clients that do not support HTML
only messages. You need to do this even if you do not care for users
with mail clients that do not read HTML messages, otherwise many spam
filters will filter your message.

If your message contains non-ASCII characters, you also need to encode
the messages as with quoted-printable encoding.

This is not trivial but fortunately there are some ready to use
components to do that for you. I recommend that you try this class that
even comes with an example the explains how to embed images in the HTML
messages if you want.

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

Report this thread to moderator Post Follow-up to this message
Old Post
Manuel Lemos
08-26-04 08:55 AM


Re: E-mail as HTML
> In PHP, how do I submit data by e-mail as HTML to a specified address? And
where can I find samples of that in http://www.php.net/ ?

HTML Mime mail at phpGuru
http://www.phpguru.org/static/mime.mail.html

Report this thread to moderator Post Follow-up to this message
Old Post
Nadim Attari
08-26-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:50 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.