FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Mailing List Problems





tchaunt
I have a script that allows people to sign up for my website's newsletter. It inserts their email into a new line in the file. This script ( http://prophit.pastebin.com/f5fa2af48 ) reads each line and sends the email.

At this point, the script can handle only sending e-mails that are pure of everything but text and line breaks (from the enter key, not the <br/> tag). It will not handle any HTML or things of the sorts. My question is, is there a way that I can use a similar code to send an email that can have borders, images, font colors, etc.?

Any help is appreciated. The first person to help me, and the code they provide works 100%, I will give them 200 $frih.
cr3ativ3
tchaunt wrote:
I have a script that allows people to sign up for my website's newsletter. It inserts their email into a new line in the file. This script ( http://prophit.pastebin.com/f5fa2af48 ) reads each line and sends the email.

At this point, the script can handle only sending e-mails that are pure of everything but text and line breaks (from the enter key, not the <br/> tag). It will not handle any HTML or things of the sorts. My question is, is there a way that I can use a similar code to send an email that can have borders, images, font colors, etc.?

Any help is appreciated. The first person to help me, and the code they provide works 100%, I will give them 200 $frih.


Your sending a plain-text email using your method.... You need to modify the headers of the email so that the client reading your email (the user's email client, realizes it needs to parse your html).

Check out the following php documentation of the mail() function for reference as to how to do this.

http://ca3.php.net/function.mail

Good Luck.
Related topics
mIRC for begginers.
[RESOLVED] Mailing list not working
Modify mailing list from php
Majordomo Mailing Lists
Mp3 player or iPOD?
Mailing list question
Pourquoi avoir choisi frihost ?
Faire un forwarder sur une mailing list
cash jobs in chicago... and mailing list questions
i need a blogging softward, mailing list help
Mailing list
Mailing Lists
SQL to Mail() for a mailing list
WP Mailing List Plugin
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.