Author Topic: Problem with email  (Read 3864 times)

0 Members and 1 Guest are viewing this topic.

Offline henrywinata

  • Pre-Newbie
  • Posts: 1
    • View Profile
Problem with email
« on: August 28, 2005, 08:39:27 AM »
Hi I do incorporate the following PHP mailer into the include/email.php file?

<?
require("c:\php\includes\class.phpmailer.php");

$mail = new PHPMailer();

$mail->IsSMTP();
$mail->Host = "mail.YourDomain.com";
$mail->SMTPAuth = true;
$mail->Username = "you@domain.com";
$mail->Password = "EmailPassword";

$mail->From = "you@domain.com";
$mail->FromName = "Your Name";
$mail->AddAddress("user@domain.com");
$mail->IsHTML(true);
$mail->Subject = "Test message sent using the PHPMailer component";
$mail->Body = "This is a test message.";
$mail->Send()
?>

Offline Xyu BAM

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Re: Problem with email
« Reply #1 on: August 28, 2005, 12:28:38 PM »
what is the problem? it seems like u are requesting for a mod, reather then asking for support about 4images itself...

Offline justintjacob

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Problem with email
« Reply #2 on: April 08, 2009, 06:49:10 AM »
My Hosting Provider disable phpmail() function,they only alow phpmailer()
Hoe to enable phpmailer in 4image gallery