Activation key email

  • garylefebvreg
  • 01/26/10
  • Offline
Posted: Wed, 2010-02-03 10:53

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.


Howdy, Sounds like you may

  • andreychek
  • 01/05/09
  • Online Now
  • Wed, 2010-02-03 11:11

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


maillog file

  • garylefebvreg
  • 01/26/10
  • Offline
  • Wed, 2010-02-03 11:37

Thanks Eric, the maillog file shows that there was an error in the to=

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


Problem solved!!!

  • garylefebvreg
  • 01/26/10
  • Offline
  • Wed, 2010-02-03 12:36

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