Jump to content

Archived

This topic is now archived and is closed to further replies.

PakiGangsta

Activation email help

Recommended Posts

I have tried to make it send an activation key to the email i have tried 2 emails, yet to recieve one
mail("$email","Activation Key Test");

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[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

Share this post


Link to post
Share on other sites
You need to set the settings in php.ini for that function to work...

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.