Re: Generic Email
| From: | Michiel Sikma | Date: | Thu, 10 Jun 2010 15:08:01 +0000 |
| Subject: | Re: Generic Email | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306008@lists.php.net to get a copy of this message | ||
On 9 June 2010 11:59, Richard Quadling <rquadling@gmail.com> wrote:
> On 9 June 2010 09:08, Amit Bobade <amit@e-arth.in> wrote:
> > Hi friends,
> > I am new in PHP. I want to know that how to send an email in HTML
> > format(i.e. with proper header, footer, etc) in PHP.
> > Please suggest me with code.
> >
> > --
> > Thanks and Regards,
> > Amit
>
>
Well, you can simply use PHP's built in mail() function, documented here:
http://php.net/manual/en/function.mail.php
It's extremely easy to use, particularly if you copy and change the code
examples.
If you want something more powerful, try Swift Mailer:
http://swiftmailer.org/
Michiel