Better yet, don't allow the user to enter a From address. Simply give
them subscribe and unsubscribe radio buttons, and make sure the
un/subscribe-ee gets a confirmation email. And certainly check your
input fields for newlines. :)
On 8/7/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, A
On Mon, August 7, 2006 2:37 am, David Dorward wrote:
> Richard Lynch wrote:
>
>> > if (isset($_REQUEST['email'])){
>> $success = mail($_REQUEST['action'], 'un/subscribe',
>> 'un/subscribe', "From: $_REQUEST[email]\r\nReply-to:
>> $_REQUEST[email]");
>> if ($success) echo "Status Change Se
Richard Lynch wrote:
>if (isset($_REQUEST['email'])){
> $success = mail($_REQUEST['action'], 'un/subscribe',
> 'un/subscribe', "From: $_REQUEST[email]\r\nReply-to:
> $_REQUEST[email]");
> if ($success) echo "Status Change Sent";
> else echo "Unable to send Status Change";
> }
> ?
On Fri, August 4, 2006 7:14 am, David Ellsworth wrote:
> I was wondering how simple it would be to set up a script to provide a
> subscribe/unsubscribe form for a list serve. The form would send an
> email to
> the subscribe address or unsubscribe address as selected.
It's pretty simple:
Subsc
what I need is what I would use after the form is submitted - responding to
whether the form sent the value (post likely from a dropdown field) of
"subscribe" or unsubscribe" to the posted page for processing.
On 8/4/06 8:52 AM, "Duncan Hill" <[EMAIL PROTECTED]> wrote:
> On Friday 04 August 2006
Yes, the list serve software has the opt-in/confirmation stuff covered. I'm
just trying to get the sub/unsub form on the website going.
Thanks
David
On 8/4/06 8:40 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> are you doing your own mailing list management, or using a package that
> inc
In most cases, your PHP build is set up with mail() attached to whatever
SMTP you have on the server.
you would just use the following...
mail($recipientemail,$subject,$message);
On 8/4/06, Duncan Hill <[EMAIL PROTECTED]> wrote:
On Friday 04 August 2006 13:27, Jay Blanchard wrote:
> [snip]
>
On Friday 04 August 2006 13:27, Jay Blanchard wrote:
> [snip]
> I was wondering how simple it would be to set up a script to provide a
> subscribe/unsubscribe form for a list serve. The form would send an
> email to
> the subscribe address or unsubscribe address as selected.
> [/snip]
>
> I wondere
[snip]
I was wondering how simple it would be to set up a script to provide a
subscribe/unsubscribe form for a list serve. The form would send an
email to
the subscribe address or unsubscribe address as selected.
[/snip]
I wondered about that the other day myself and came to the conclusion
that it
9 matches
Mail list logo