homepage Welcome to WebmasterWorld Guest from 184.72.82.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP Mail
Just small stuff
circuitjump




msg:1296805
 4:24 pm on Aug 3, 2001 (gmt 0)

Hi all,
Just want to know if I can get a little help on this little thing I'm trying to do.

I'm trying to make my mailing list that runs on PHP send out a preformated message. But I am running into a problem. The problem is that the preformated message is formated differently on every mail program. What I mean is that Eudora formats it differently from Outlook, Outlook Express, Netscape Mail and so on.

So, I want to know if anyone has been able to overcome this little dilemma and how they did it.

This is what I'm trying to do:

//E-Mail Content
$subject_from = "YDI Mailing List - ".$subject."\nFrom:Domain -mailinglist@domain.com\r\n";
$blank = " ";
$message_info = $message."\n\n
--------------------------------------------------------------------
¦ Visit [domain.com...] for all your wireless shopping needs. ¦\n
¦ You have recieved this e-mail because you signed up for it. ¦\n
¦ If you would like to stop receiving emails click below ¦\n
--------------------------------------------------------------------
[domain.com...]
//Send the customers form e-mail.
mail($mail_catch->email,
$subject_from,
$blank,
$message_info)
or exit();

Any way it should come out like this:

-----
¦BOX¦
¦BOX¦
-----

Thanks for any help given.

 

grnidone




msg:1296806
 11:14 pm on Aug 4, 2001 (gmt 0)

Sorry you haven't been helped sooner, circuit. I am putting this at the top of the list and calling for help.

This is a plain text email, yes?

-G

toadhall




msg:1296807
 7:01 am on Aug 5, 2001 (gmt 0)

If it's just the "box" that's not formatting consistenetly perhaps it's just the lack of 'newlines' at the end of the horizontal dash-lines as in:

--------------------------------------------------------------------\n
¦ Visit [domain.com...] for all your wireless shopping needs. ¦\n
¦ You have recieved this e-mail because you signed up for it. ¦\n
¦ If you would like to stop receiving emails click below ¦\n
-------------------------------------------------------------------- \n

circuitjump




msg:1296808
 7:04 pm on Aug 21, 2001 (gmt 0)

Hey thanks all,
Yeah it's a plain text e-mail,
I've been doing it like so
--------------------------------------------------------------------\n
Visit [domain.com...] for all your wireless shopping needs.\n
You have recieved this e-mail because you signed up for it.\n
If you would like to stop receiving emails click below \n
--------------------------------------------------------------------

Til I find a better way.

Thanks for any input given and for coming to the rescue :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved