[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

send to friends page

I am looking for a page that will allow me to send an email to several people at the same time.  This will done after my subscribers complete their enrollment form.  The user will be prompted to add the email adresses of friends that he wants notified of his new account.  The page should allow the user to enter multiple email addresses.  If anyone can help...please
0
concep86
Asked:
concep86
  • 4
  • 4
  • 2
1 Solution
 
martinagCommented:
If you're on a UNIX use a Perl script that pipes to sendmail and just ask the user to separate the adresses using commas, eg "steve@aol.com, mike@usa.net".
There are tons of such scripts out there, but if you want to I can post one.

Martin
0
 
concep86Author Commented:
I am using an NT server with IIS.  Do you have one for that platform.  I am not at all familiar with perl, but if it works please post one.  I am really looking for the end result to be a page that has several text boxes that allow the user to enter email adresses.  Then push a submit button and send the message to each of the addresses.  The text of the message the recipients receive should not be viewable by the sender.  Thanks ED.  
0
 
martinagCommented:
No experience with NT/IIS, sorry.
I believe that you will get better help in the CGI area so you could delete this question (link below) and repost it there.

Martin
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MasseyMCommented:
Yes, you can download JMail from www.dimac.net.  Install it and you can send the mail via ASP.

Here is the code that you would use:

<%
      Set JMail = Server.CreateObject("JMail.SMTPMail")
      JMail.ServerAddress = "yourmail.address.com:25"
            
      JMail.Sender        = "your email address"
      JMail.SenderName = "Your EMail name"
%>
<% ' This is where you add the recipients... we will use a form
For Each Item in Request.Form
      If Request.Form(Item).Count Then
            For intLoop = 1 to Request.Form(Item).Count
                  User = Request.Form(Item)(IntLoop)
                  If User <> "" then JMail.AddRecipient (User)
            Next
      End If
Next
%>
<%
      JMail.Subject        = "Your Subject"
        JMail.Body       = "You Body text"
        JMail.Priority = 1
      
      JMail.Execute
      set JMail = nothing
%>


0
 
concep86Author Commented:
I dont think this is what I'm looking for?  Let me explain.  I have a web based email service.  I'd like to get the word out about my site.  As users register for new accounts I want to offer them a chance of notifying their friends of their new account.  I have seen this done on Netaddress.com.  They have a form in the registration process that allows user to enter multiple addresses.  These addresses receive a message notifying them that their friend just received a new emailk account.  I have a sample page I can email you.
****************************************************************
0
 
MasseyMCommented:
OK, please email it to me.  I will take a look and advise.
0
 
MasseyMCommented:
Did you receive the file?  Is that what you want?
0
 
concep86Author Commented:
I just downloaded the file and will install it tonight,  I'll let you know tomorrow.  Thanks..
0
 
MasseyMCommented:
Did the files work?
0
 
concep86Author Commented:
I have not tried it yet,  My dilemna is that I have a pop/smtp server and want to try to work with the software that I have.  I will email you with more info.  I will however award you the points for the efforts... Thanks...
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now