Newsletters

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
grahamd
Forum Newbie
Posts: 14
Joined: Fri Oct 22, 2004 6:32 pm
Location: Scotland, UK

Newsletters

Post by grahamd »

Hey guys!

Right - relatively simple problem for you to help me with here - I've set up a newsletter page in the admin section of my site, which automatically sends the submission to the address of every subscriber. The thing I want to know is: how can I go about creating HTML formatted newsletters with images and whatnot? Currently my newsletter consists of a subject box and content box, similar to a standard email form - this means it has to be plain text only really! I thought of just bunging in a hypertext link to the messages which could launch a page from my site which has the newsletter - but I've seen this being done in the email itself - take Amazon, for example!

Thanks for your time, old beans! :wink:
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You just send html in the message, then if the users client knows how to parse the html it will do. Link to images on remote servers.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

one of the best PHP classes for the job: phpmailer: http://phpmailer.sourceforge.net
Post Reply