| Author |
Message |
gwh
Joined: 03 May 2007 Posts: 6
|
Posted: Thu May 03, 2007 2:09 pm Post subject: Trouble creating unsubscribe functionality |
|
|
Hi everyone,
I'm creating an html newsletter in dreamweaver and will use MaxBulk Mailer to send it out using the text/html option. I'm having problems though figuring out how to create the unsubscribe functionality.
I've search the maxprog site and have found a few options but I have a few questions though. Firstly one source says to use the following int he footer of the email:
mailto:stanley@mydomain.org?Subject=Unsubscribe&Reply-To=[E-mail Address]
I then found information on theh Unsubscribe PHP script which says to add the following url to the message footer:
http://www.yourdomain.com/myfolder/unsubscribe.php?email=<subscriber_email>
Can someone tell me which of the above two URLs I should use as the URL link in my html email?
Also, I was hoping to use the php script but I'm also having trouble understanding the instructions:
chmod unsubscribe.dat to 666
I'm using dreamweaver and don't know how to do this - can someone give me a few pointers here also?
Appreciate any replys.
Thanks |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2384
|
Posted: Thu May 03, 2007 4:39 pm Post subject: |
|
|
| The best is the PHP script. To CHMOD a file, just use you FTP software. |
|
| Back to top |
|
 |
gwh
Joined: 03 May 2007 Posts: 6
|
Posted: Thu May 03, 2007 5:08 pm Post subject: |
|
|
Thanks for the reply,
If I use the URL specified in the PHP script, ie:
http://www.yourdomain.com/myfolder/unsubscribe.php?email=<subscriber_email>
...do I leave the <subscriber_email> tag as is, or do I replace it with something. I assumed this tag would automatically get replaced with the email address of the person wanting to unsubscribe - is this right?
Also, you say to just use my FTP software - as I said I use the FTP built into dreamweaver and I don't know how to CHMOD a file from here. Actually I don't even know what it means to CHMOD a file!! Can you give a further explanation? |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2384
|
|
| Back to top |
|
 |
gwh
Joined: 03 May 2007 Posts: 6
|
Posted: Sat May 05, 2007 2:54 pm Post subject: |
|
|
Thanks for the CHMOD link.
The only problem is that I've just found out from my web host that permissions 666 and 777 are considered insecure on their servers, and running any scripts with these permissions would result in an Internal Server Error. I was told to leave the default permissions (775). Would this cause the script not to work if I did that? |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2384
|
Posted: Mon May 07, 2007 4:05 pm Post subject: |
|
|
| It is possible it will work but I haven't tried. |
|
| Back to top |
|
 |
timprotech
Joined: 27 Nov 2006 Posts: 1 Location: Eugene, OR
|
Posted: Mon May 21, 2007 9:54 pm Post subject: |
|
|
| gwh wrote: | Thanks for the CHMOD link.
The only problem is that I've just found out from my web host that permissions 666 and 777 are considered insecure on their servers, and running any scripts with these permissions would result in an Internal Server Error. |
I think the permissions need to be changed only on the data file (unsubscribe.dat), not on the script itself, so that the script can write to it. |
|
| Back to top |
|
 |
|