We are just strugling with this. We are using ezmlm, you need to compile
it with mysql support. I solved webbased subscribing and unsubscribing
with sending an email to the apropriate addresses with From and
Return-Path set to the user's email address (I used smtp class instead
of mail() functi
"Robert V. Zwink" wrote:
> Then when someone sends back the $unique_id by clicking on your link, you
> can instuct MySQL to disable the record:
>
> "UPDATE users SET send_email = 'NO' WHERE
> MD5(email_address.'ThisIsASecretKey123')=$unique_id "
This works...with a small change (or is it a f
Both php and MySQL support MD5(). Consider this:
// Define a secret key
$secret_key = "ThisIsASecretKey123";
// Take the user's current email address
$email_address = "[EMAIL PROTECTED]";
// And create a unique ID
$unique_id = md5($email_address.$secret_key);
Stick this unique id in the em
I think PHP's uniqid() will suit your purposes. Look in the Miscellaneous
Functions section of the manual.
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 11:38 AM
To: PHP-General List
Subject: [PHP] Maillist
I need to send out s
4 matches
Mail list logo