28, May 2012

Confirmation email wrong username right address? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Confirmation email wrong username right address?
« previous next »
Pages: [1] Print

Author Topic: Confirmation email wrong username right address?  (Read 1776 times)
Metal slug addict
*
Posts: 18
132 credits
Members referred : 0


« on: Aug 23, 2006, 06:11:08 pm »



I am pretty sure this as addressed somewhere but I sure can't find it. The checkbox for send confirmation sends the the correct email address but has the wrong username in the body......


function send_confirmation($id) {
      $sql = sprintf("SELECT email FROM %s WHERE id = %d", $this->table_name, $id);
      $user_email = mysql_result(mysql_query($sql), 0, "email");
      if ($this->send_mail($user_email, 37, 24)) {
         return true;
      } else {
         return false;
      }
   }
Metal slug addict
*
Posts: 18
132 credits
Members referred : 0


Should have looked harder I found it.
« Reply #1 on: Aug 23, 2006, 06:14:18 pm »

DOH!
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Aug 23, 2006, 06:50:09 pm »


Metal slug addict
*
Posts: 18
132 credits
Members referred : 0


« Reply #3 on: Aug 23, 2006, 07:04:39 pm »

No that was my mistake.

I am still having trouble getting the send confirmation function to work. I cannot get it to send an email confirmation at all. All of the other email functions work fine.

I am in the process of trying to see what's up with the values. Is this something you've ever heard of?

Regards, Jeff
Metal slug addict
*
Posts: 18
132 credits
Members referred : 0


Geez I'm a dork
« Reply #4 on: Aug 23, 2006, 07:17:33 pm »


Never mind Olaf there was never a problem it's been my errors in testing.

Thanks.

Regards, Jeff Embarrassed
Metal slug addict
*
Posts: 18
132 credits
Members referred : 0


« Reply #5 on: Aug 23, 2006, 07:18:44 pm »

BTW nice default profile........ James Bong?
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Aug 23, 2006, 08:34:02 pm »

BTW nice default profile........ James Bong?
these are random profiles,  nice frorum feature...Wink

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3780
Tags : email Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Confirmation email wrong username right address?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 03:20:04 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.