Account activation via email

This is a discussion on Account activation via email within the PHP Language forums, part of the PHP Programming Forums category; I'm supposed to do the account activation via email. I mean *not* sending the activation link like http://foo....


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-27-2003
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Account activation via email

I'm supposed to do the account activation via email. I mean *not*
sending the activation link like http://foo.com/foo.php?actcode=foo.
But, I would like it to be like <actcode>-activation@domain.com or so.
I remember, once I did it by checking the POP3 server. Now, I totally
forgot how I did it in PHP or server. Also, I couldn't find any
solution/script by Googling. Anyone has the idea?

TIA.

---
"If there is a God, he must be a sadist!"
Email: rrjanbiah-at-Y!com
Reply With Quote
  #2 (permalink)  
Old 10-27-2003
Eric Veltman
 
Posts: n/a
Default Re: Account activation via email

Hello Rajesh,

R. Rajesh Jeba Anbiah wrote:

> I'm supposed to do the account activation via email. I mean *not*
> sending the activation link like http://foo.com/foo.php?actcode=foo.
> But, I would like it to be like <actcode>-activation@domain.com or so.


[ I´m assuming a Unix server here ]

In the ¨<actcode>-activation@domain.com" case, I think you would need
to plug your code into the e-mail system. I think it will be easier if
you use a single e-mail address activation@domain.com and put the
<actcode> in the subject line of the activation e-mails.

If you have shell access on the machine, you can then put a line
in the .forward file for the "activation" user that tells the e-mail
system to pipe the e-mail to a PHP command line script that you wrote.
In that script you can then do anything you want with the e-mail.

I don't remember the exact syntax for the .forward file,
but I think you can find it on Google.

Best regards,

Eric
Reply With Quote
  #3 (permalink)  
Old 10-28-2003
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: Account activation via email

Eric Veltman <eric@[RemoveThis]veltman.nu> wrote in message news:<vppnnssuq4p394@corp.supernews.com>...
> Hello Rajesh,
>
> R. Rajesh Jeba Anbiah wrote:
>
> > I'm supposed to do the account activation via email. I mean *not*
> > sending the activation link like http://foo.com/foo.php?actcode=foo.
> > But, I would like it to be like <actcode>-activation@domain.com or so.

>
> [ I´m assuming a Unix server here ]
>
> In the ¨<actcode>-activation@domain.com" case, I think you would need
> to plug your code into the e-mail system. I think it will be easier if
> you use a single e-mail address activation@domain.com and put the
> <actcode> in the subject line of the activation e-mails.
>
> If you have shell access on the machine, you can then put a line
> in the .forward file for the "activation" user that tells the e-mail
> system to pipe the e-mail to a PHP command line script that you wrote.
> In that script you can then do anything you want with the e-mail.
>
> I don't remember the exact syntax for the .forward file,
> but I think you can find it on Google.


Thanks a lot!

---
"If there is a God, he must be a sadist!"
Email: rrjanbiah-at-Y!com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0