Jump to content

PHP HTML NEWSLETTER


hgbarrett

Recommended Posts

Please forgive me if this sounds like something simple, but I have only been trying out PHP for a few days now.

 

Anyhow, I bought a book on PHP/MySQL with a number of projects.  One of which is creating a PHP HTML email to send to a group of recipients (I want a nice, colorful HTML flyer to go to my mailing list). 

 

I understand the HTML formatting and the PHP code.  What I don't understand is what to do with it once the PHP script is coded - the book doesn't describe this and I can't find this on the internet (maybe it's just something too obvious). 

 

I have a local server (Mac, Apache, PHP, MYSQL), but would like to send it through my webhost server (IX Hosting) where I can maintain folders with the newsletter images.  So, do I put the PHP script up on the server along with the rest of my website?  Then, how do I actually send the email newsletter?  Do you just go directly to the script, for example, http://www.testsite.com/email_newsletter.php and it just automatically sends the message?

 

The script uses the mail($Recipient, $MsgSubject, $MsgBody, $MsgHeader); to send the mail.

 

Anyway, help would be appreciate if this makes sense to anyone.

Link to comment
https://forums.phpfreaks.com/topic/44178-php-html-newsletter/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.