Forum Moderators: open

Message Too Old, No Replies

forwarding on email to a friend

         

Scally_Ally

8:00 am on Oct 25, 2005 (gmt 0)

10+ Year Member



Hi guys,

I dont know if this is the right place to put this question but here goes.

I am making a html mailer for one of my clients for them to distribute to people in their database, the problem is that they would like a forward to a friend option at the bottom of the email where the person reading it can input another email address, click submit and it is forwarded on.

I am not too convinced that it can be done as when the email is viewed it is on the users machine and not the server, and i wouldnt have thought that you could submit a form to a remote server?

Does anyone have any information on this?

Thanks

Ally

tedster

9:36 pm on Oct 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As far as I know this is doable -- you must be sending an html email, of course. However, from what I've read, sending forms in a mass email is not a good practice and opens up many abuse possibilities. Instead, I would try using a link to a web page with the send-to-a-friend form. Unfortunately, requiring two clicks does not have nearly the appeal of one.

kaled

8:34 am on Oct 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Provided the email is saved on the server, simply place a form in the email. When the form is submitted (with friend's email address), the action of the form would be to send the email (that has been saved on the server) to the new address.

Assuming form's work in emails (never tried it) this should be ok.

Kaled.

Scally_Ally

9:17 am on Oct 26, 2005 (gmt 0)

10+ Year Member



I have never tried it either..

so i could just put a form in there that submits to a remote page like

<form name.... action="www.example.com/form_submit.asp">

I will give it a go and let you know. (I have doubts though)

henry0

10:58 am on Oct 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Forms are like any code/script it's up to the coder to make them secured
Anyways nothing's bullet proof
What’s OK today will be defeated tomorrow

Didn't I see the same post in PHP forum?

Scally_Ally

8:01 am on Oct 27, 2005 (gmt 0)

10+ Year Member



Yeah, I didnt know if it was a php thing that you had to do or whether it was a html thing.

sent a html email with a form on it and it appeared to work, I was quite surprised that it did as i thought that you couldnt submit forms to remote servers.. Anyway it worked.

Thanks for your help

kaled

9:01 am on Oct 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As an alternative, you could provide a link to a form on the server (for the user to enter their friend's email address). This is not as tidy (since it requires a browser to be opened) but might be preferred.

Kaled.