PHPmailer

  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

hi,

im running phpmailer and i always get this problem.

"You must provide at least one recipient email address."

i have no idea what is missing, is there anyone who has an answer to this?

thanks,
...
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

In the php script did you check to see where you have to put your email where the mails would be sent... if so, did you put your email there?
  • markusPHP
  • Beginner
  • Beginner
  • User avatar
  • Posts: 44
  • Loc: york, england

Post 3+ Months Ago

Do you have any idea how to use phpmailer?

Have you read the documentation / examples?

How are you setting the 'to' address?
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Engr wrote:
"You must provide at least one recipient email address."


Do you have a recipient email address?
  • videoediting-direct
  • Beginner
  • Beginner
  • videoediting-direct
  • Posts: 53
  • Loc: United Kingdom

Post 3+ Months Ago

$mail = new PHPMailer();
$mail->From = $from_email;
$mail->FromName = $from_name;
$mail->Host = $MAIL_HOST;
$mail->Mailer = $MAIL_MAILER;
$mail->Subject = $subject;
$mail->Body = $body;
$mail->AddAddress($to_email_address, $to_name);
$mail->Send();

Hope this helps!!!
  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

oops. i figured it out, i just need to restart sendmail that caused the problem, sorry for the very long response on this.

thanks guys and more power.

engr
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

Engr wrote:
oops. i figured it out, i just need to restart sendmail that caused the problem, sorry for the very long response on this.

thanks guys and more power.

engr

That was like half a year long response :lol:

Oh well... I guess it doesn't matter... we have forgotten it anyway (Not trying to be rude... even though it sounds kind of rude).
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Guess he had to try hard to figure it out *shrug*
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

UPSGuy wrote:
Guess he had to try hard to figure it out *shrug*

:lol: I think he just forgot to post that he found the answer and his conscience made him feel to bad so he couldn't take it any longer and posted that now... (Sorry for the grammar... I know it's bad... I just don't know it well).
  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

ahhahahaaa...

thanks guys.

yeah probably i forgotten to update the post.

best,
engr
  • AaliyahRoma
  • Born
  • Born
  • AaliyahRoma
  • Posts: 4

Post 3+ Months Ago

To see what missing print to screen first instead of send mail.

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 75 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.