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"); Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/ 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. Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73576 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 Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73577 Share on other sites More sharing options...
PakiGangsta Posted August 12, 2006 Author Share Posted August 12, 2006 can anyone help me asap Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73583 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... Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73584 Share on other sites More sharing options...
PakiGangsta Posted August 12, 2006 Author Share Posted August 12, 2006 how Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73585 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... Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73588 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! Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73590 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 Link to comment https://forums.phpfreaks.com/topic/17321-activation-email-help/#findComment-73594 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.