Hi - I want to create a recommend a friend email form on my asp site that allows visitors and registered users to enter their friends email addresses which then get sent to me. I am a novice asp coder - can someone please point me in the right direction.
There's nothing complicated with the 'Recommend a Friend' script 1. Get a form with say 10 inputboxes for the email addresses. 2. When the form is submitted, retrieve the values from the inputboxes (make sure you have validated the email addresses though) 3. Create your Mail Object 4. Send the mail to the email addresses You might want to actually build a string for all the email addresses like: email_addresses = "x@y.com, ; " Mail.To = email_addresses Mail.Bcc = your_email_address Mail.Send This method sends all the emails at once but you might want to do one at a time, so you would need to enclose your Mail routine in a while loop for all the email addresses (valid ones)
There are really simple scripts that you can easily drop into your site if you want to add this feature, such as this one: Email A Friend Script
Remember to use some email component like CDONT for this . Check with your service provider , the type of component installed on the server