PakiGangsta Posted August 12, 2006 Share Posted August 12, 2006 I have tried to make it send an activation key to the email i have tried 2 emails, yet to recieve onemail("$email","Activation Key Test"); Quote Link to comment Share on other sites More sharing options...
mewhocorrupts Posted August 12, 2006 Share Posted August 12, 2006 Is your problem that the mail() function isn't sending the e-mail the first time, or that it's not activating when the link inside of the mail is opened?Sorry, I'm not quite sure what you're asking here. Quote Link to comment Share on other sites More sharing options...
PakiGangsta Posted August 12, 2006 Author Share Posted August 12, 2006 [quote author=mewhocorrupts link=topic=103964.msg414417#msg414417 date=1155360952]Is your problem that the mail() function isn't sending the e-mail the first time, or that it's not activating when the link inside of the mail is opened?Sorry, I'm not quite sure what you're asking here.[/quote] it is not sending it at all Quote Link to comment Share on other sites More sharing options...
PakiGangsta Posted August 12, 2006 Author Share Posted August 12, 2006 can anyone help me asap Quote Link to comment Share on other sites More sharing options...
corbin Posted August 12, 2006 Share Posted August 12, 2006 You need to set the settings in php.ini for that function to work... Quote Link to comment Share on other sites More sharing options...
PakiGangsta Posted August 12, 2006 Author Share Posted August 12, 2006 how Quote Link to comment Share on other sites More sharing options...
corbin Posted August 12, 2006 Share Posted August 12, 2006 You need to know a SMTP server, or run one... Quote Link to comment Share on other sites More sharing options...
Neo55378008 Posted August 12, 2006 Share Posted August 12, 2006 I actually had this same problem today. If your server is on a Windows system, there are variables in the php.ini file that allow you to set an SMTP server. However, if you're running a Linux server like myself, you have to install sendmail. Further problems arrise if you have an ISP that doesn't allow personal SMTP servers. If that is the case, then you have to add define(`SMART_HOST',`your.ispSMTP.net)dnl to sendmail.mc, and remake sendmail. It's a hassle, but well worth it! Quote Link to comment Share on other sites More sharing options...
chriscloyd Posted August 12, 2006 Share Posted August 12, 2006 no i had this probably a couple of times it does depend on the php.ini but look make sure u r getting a var for $email like $email = $_POST['email'] or get Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.