RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
I decided to change the call to send to: $mail =& Mail::factory("smtp", array("host" => "localhost")); return $mail->send($params["email"], $headers, $body); and now hotmail wokrs. Maybe qmail changes something when the mail() function is used. Thank you for all your help. Fernando. > From:

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
Hello, Thank you all for your cooperation yesterday. I tried PEAR Mail_mime as follows: function SendEmail($template, $params){ // Read and open the template file and the image file $htmlFile = fopen("./templates/$template.html", "r"); $txtFile = fopen("./templates/$template.txt", "

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thank you. I'm looking at PEAR Mail_mime right now. It seems promising. Fernando. > Date: Wed, 10 Jun 2009 23:14:11 +0530 > From: sudhee...@binaryvibes.co.in > To: phps...@gmail.com > CC: jfer...@hotmail.com; rich...@php.net; php-general@lists.php.net > Subject: Re: [PHP] Mail function and hot

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thanks. I'll check that out. > Date: Wed, 10 Jun 2009 18:24:45 +0100 > Subject: Re: [PHP] Mail function and hotmail > From: rich...@php.net > To: phps...@gmail.com > CC: jfer...@hotmail.com; php-general@lists.php.net > > Hi, > > > pear's mime mail > > I believe I had a hand in that too. It's

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
I have not idea of what else to use. Your suggestions are appreciated. Fernando. > Date: Wed, 10 Jun 2009 18:04:31 +0100 > From: rich...@php.net > To: jfer...@hotmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] Mail function and hotmail > > Hi, > > > ... > > Use something that i

[PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Hello, I am sending an html message with and embedded image using the following code: // Read message from html template $message = fread("template.html", filesize("template.html")); // I replace the values in $message that are necessary to // fill the tempalte ... // Generate a boundary stri