Posts Tagged ‘e-mail’

How to Send E-Mail in PHP: A “Share This” Form

Wednesday, February 6th, 2008

This question comes up a lot in forums – how do you send e-mail in PHP?

There are plenty of reasons you’d want to do this. Perhaps you want to send a newsletter to your users. Or you want people to be able to leave feedback through e-mail. Or you just want your users to be able to e-mail the page (or a link to it) to a friend.

How do we do this? The mail() function.
(more…)

Why Don’t My Images Appear in My HTML E-mail?

Wednesday, January 16th, 2008

I was browsing around the PHP forum on Daniweb and came across this problem in a post.

Here’s the situation.

The guy wanted to send out a newsletter, so he grabbed a pre-fabbed newsletter script. The PHP script seemed to work fine – it read an HTML template and then fired off the e-mail in HTML form.

There was just one problem: none of the images were appearing in the HTML e-mail when he tried to view it.
(more…)