PHPmailer

  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post May 21st, 2008, 3:32 pm

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,
...
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 21st, 2008, 3:32 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 21st, 2008, 9:32 pm

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?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • markusPHP
  • Beginner
  • Beginner
  • User avatar
  • Joined: Mar 23, 2008
  • Posts: 44
  • Loc: york, england
  • Status: Offline

Post May 22nd, 2008, 11:56 pm

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
  • No Avatar
  • Joined: Nov 05, 2007
  • Posts: 2206
  • Loc: Malaysia
  • Status: Offline

Post May 24th, 2008, 9:57 am

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


Do you have a recipient email address?
  • videoediting-direct
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 28, 2008
  • Posts: 53
  • Loc: United Kingdom
  • Status: Offline

Post August 14th, 2008, 5:00 am

$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
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post April 23rd, 2009, 11:24 pm

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
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post April 24th, 2009, 1:53 pm

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).
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post April 24th, 2009, 1:57 pm

Guess he had to try hard to figure it out *shrug*
I'd love to change the world, but they won't give me the source code.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post April 24th, 2009, 1:59 pm

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).
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post April 27th, 2009, 12:59 am

ahhahahaaa...

thanks guys.

yeah probably i forgotten to update the post.

best,
engr
  • AaliyahRoma
  • Born
  • Born
  • No Avatar
  • Joined: Apr 26, 2009
  • Posts: 4
  • Status: Offline

Post May 24th, 2009, 8:40 am

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 110 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.