Activation key email

4 posts / 0 new
Last post
#1 Wed, 02/03/2010 - 09:53
garylefebvreg

Activation key email

I'm a somewhat newbe at Linux. I have a webserver CentOS 5.4 with Virtualmin hosting my 2 websites. Everything is running perfectly. I can call up my websites from another computer I can also send emails from my webserver to other outside email servers.

My problem is... On one of my websites, I have an index.php file that uses the mail function in (php.ini), that from this webpage located on the server sends out an activation key to the user that is requesting to register on my website.

The process never happens??? The email never comes out of the server to the person requesting to register.

If I sound like I don't exactly know what I'm talking about I apologize. I've done google searches and have found nothing pertaining to my problem.

Wed, 02/03/2010 - 10:11
andreychek

Howdy,

Sounds like you may want to take a peek at your mail logs, in /var/log/maillog, whenever your app is sending out an email.

You can use those logs to figure out if the email is going through or not.

If it's going through, it may mean the folks on the other end may need to look in their spam folders or something similar.

If it's not going through, hopefully the mail logs would have some errors that would help explain what's going on and what would need to be done to correct it.

-Eric

Wed, 02/03/2010 - 10:37 (Reply to #2)
garylefebvreg

Thanks Eric, the maillog file shows that there was an error in the to=g.lefebvre@quaboagvalleycoop.org

It is an address that was not configured into my server. It must be on my webpage that I created last year. I will be tracking this down. Thank You so Much!

Gary

Wed, 02/03/2010 - 11:36 (Reply to #3)
garylefebvreg

Hi Eric,

To let you know, through the maillog file I was able to find that my webpage with the registration info was causing the problem. the sticky feature that I used getStickyInsert('vis_email')

kept the last known input value that I used and was giving this wrong info to the server.

Thanks again!

-Gary

Topic locked