Hello,
         You can use phpmailer from http://phpmailer.sourceforge.net/   web 
adress:) . You can use examples like this:
<?php
require("class.phpmailer.php");

$mail = new PHPMailer();

$mail->IsSMTP(); // send via SMTP
$mail->Host = "post.somehost.com"; // SMTP servers
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "somebady"; // SMTP username
$mail->Password = "somepass"; // SMTP password
$mail->CharSet = "iso-8859-9";
$mail->From = "[EMAIL PROTECTED]";
$mail->FromName = "Mailer";
$mail->AddAddress("[EMAIL PROTECTED]","Name Surname");

$mail->WordWrap = 50;

$mail->IsHTML(true);


$mail->Subject = "Subject";
$mail->Body = "Fýstýkçý Þahap";

if(!$mail->Send())
{
echo "Message was not sent <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}

echo "Message has been sent";
?>


""Mário Gamito"" <[EMAIL PROTECTED]>, haber iletisinde sunlari 
yazdi:[EMAIL PROTECTED]
> Hi,
>
> How can i use the mail function to send messages through another server
> that has authenticated SMTP ?
>
> Any help would be appreciated.
>
> Warm Regards
> -- 
> :wq! Mário Gamito 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to