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 = "somebady@xxxxxxxxxxx"; $mail->FromName = "Mailer"; $mail->AddAddress("somebady@xxxxxxxxxxx","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"" <mgamito@xxxxxxxxx>, haber iletisinde sunlari yazdi:4610D9F9.5080507@xxxxxxxxxxxx > 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