Sending email template by php

the mail() function

Moderators: macek, egami, gesf

abhighsl
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Jan 29, 2013 1:09 pm

Sending email template by php

Postby abhighsl » Tue Jan 29, 2013 1:19 pm

How can I send a email template by php by mail() ?
for example, I have a email template on this link - http://mixfocuz.com/home-consulting/hom ... lting.html
how can I send this news letter ?

Is there any better option of sending news letter beside mail() ???

User avatar
aravindoptimus
New php-forum User
New php-forum User
Posts: 11
Joined: Thu Mar 07, 2013 2:00 am
Contact:

Re: Sending email template by php

Postby aravindoptimus » Thu Mar 07, 2013 2:03 am

Check the following link it will be much useful for you!

http://softmanic.blogspot.in/2013/03/se ... h-php.html

User avatar
daveismyname
New php-forum User
New php-forum User
Posts: 26
Joined: Sat Oct 15, 2011 3:21 am
Location: Hull, East Yorkshire, England
Contact:

Re: Sending email template by php

Postby daveismyname » Wed May 15, 2013 11:06 pm

abhighsl wrote:How can I send a email template by php by mail() ?
for example, I have a email template on this link - http://mixfocuz.com/home-consulting/hom ... lting.html
how can I send this news letter ?

Is there any better option of sending news letter beside mail() ???


yes use an email library like swiftmailer http://swiftmailer.org/

here's a short tutorial I wrote on using it http://www.daveismyname.com/tutorials/php-tutorials/sending-html-emails-attachments-using-php-swiftmailer/


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 2 guests

cron