PHP Classes

Excellent

Recommend this page to a friend!

      SMTP Class  >  All threads  >  Excellent  >  (Un) Subscribe thread alerts  
Subject:Excellent
Summary:How to sent HTML Body Message
Messages:2
Author:saroj
Date:2009-04-15 21:35:39
Update:2009-08-27 20:20:30
 

  1. Excellent   Reply   Report abuse  
Picture of saroj saroj - 2009-04-15 21:35:39
Hi

Excellent code. I am able to send text message but not able to send HTML messages. Can you help me regarding this.

Thanks
Saroj

  2. Re: Excellent   Reply   Report abuse  
Picture of Armando Hernández Armando Hernández - 2009-08-27 20:20:30 - In reply to message 1 from saroj
If you want to send HTML messages, just add charset in "From":


$send_params['headers'] = array(

'From: '.$from."\n".'Content-type: text/html; charset=utf-8'."\r\n".'Reply-To: '.$reply,
'To: '.$emailCliente, 'Subject: '.$headerAsunto
);

 
For more information send a message to info at phpclasses dot org.