Re: looking for HTML email script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks all 


Top List Ranking 
 Thanks and Regards  Shridhar Shenoy C DISCLAIMER: This email may contain privileged information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited, and may be unlawful. If you have received this mail by mistake, please inform the sender immediately and delete this mail. Any information expressed in this mail does not necessarily reflect the views of Shridhar Shenoy C.

--- On Sat, 5/6/10, Ali Jamali <ali.jamali@xxxxxxxxx> wrote:

From: Ali Jamali <ali.jamali@xxxxxxxxx>
Subject: Re:  looking for HTML email script
To: php-objects@xxxxxxxxxxxxxxx
Date: Saturday, 5 June, 2010, 2:30 AM







 



  


    
      
      
        <?php

    require_once "Mail.php";



$from = "your-email>";

    $to = "Your-targetEmail>";

    $subject = "Hi!";

    $body = "Hi,\n\nHow are you?";



$host = "ssl://mail.example.com";

    $port = "465";

    $username = "smtp_username";

    $password = "smtp_password";



$headers = array ('From' => $from,

      'To' => $to,

      'Subject' => $subject);

    $smtp = Mail::factory('smtp',

      array ('host' => $host,

        'port' => $port,

        'auth' => true,

        'username' => $username,

        'password' => $password));



$mail = $smtp->send($to, $headers, $body);



if (PEAR::isError($mail)) {

      echo("<p>" . $mail->getMessage() . "</p>");

     } else {

      echo("<p>Message successfully sent!</p>");

     }

    ?>



________________________________

From: Muruganantham <mk2402@xxxxxxxxx>

To: php-objects@xxxxxxxxxxxxxxx

Sent: Fri, June 4, 2010 2:33:55 PM

Subject: Re:  looking for HTML email script



just code the html page and send it as html email from your pop3 mail

client.



thx

muruganantham



On Fri, Jun 4, 2010 at 09:28, shridhar <shridharshenoy2000@xxxxxxxxxxx>wrote:



>

>

> Hi anyone has or can any one give the html email sending script via

> google from local system. Its urgent

>

> [Non-text portions of this message have been removed]

>

>  

>



[Non-text portions of this message have been removed]



------------------------------------



Are you looking for a PHP job?

Join the PHP Professionals directory Now!

http://www.phpclasses.org/jobs/

Yahoo! Groups Links



[Non-text portions of this message have been removed]





    
     

    
    


 



  







[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux