-----Original Message-----
I have just been put in charge of managing our Website
and need a program to send out an email newsletter to
roughly 1000 customers or prospective customers. I need
to divide the list up between the two. Is there a very
simple program somewhere we can purchase that will help
us do that? Thank you.
Here's one approach. It requires a Windows-based Web
server.
First, contact your email administrator and set up two
distribution lists: one for existing customers and one
for prospects. Populate these lists with whatever
addresses you like. Then:
1. Create a new empty page.
2. Switch to HTML view, select ALL the code, and delete
it.
3. Copy the HTML code below to the clipboard.
<%option explicit%>
<html>
<head>
<title>Send Newsletter</title>
</head>
<body>
<form method="POST" >
<input type="text" name="toaddr">
<input type="submit" value="Submit" name="btnSub">
</form>
<%
Dim objMsg
Const cdoSchema = _
"
http://schemas.microsoft.com/cdo/configuration/"
if request("btnSub") <> "" then
Set objMsg = CreateObject("CDO.Message")
objMsg.Subject = "Test " & now()
objMsg.Sender = "(e-mail address removed)"
objMsg.To = Request("toaddr")
objMsg.CreateMHTMLBody _
"
http://www.joncom.net/newsletter.htm"
objMsg.Configuration.Fields.Item(cdoSchema & _
"sendusing") = 2
objMsg.Configuration.Fields.Item(cdoSchema & _
"smtpserver") = "mail.joncom.net"
objMsg.Configuration.Fields.Item(cdoSchema & _
"smtpserverport") = 25
objMsg.Configuration.Fields.Update
objMsg.Send
end if
%>
</body>
</html>
4. Paste into Notepad.
5. Copy the code again from Notepad.
6. Paste the copied code into HTML view.
7. Change the objMsg.Sender value to your e-mail address.
8. Change the objMsg.CreateMHTMLBody URL to that of your
newsletter. Add a full or relative path as necessary.
9. Change the smptserver name to that of your mail
server.
10. Save the page as sendnews.asp.
11. Display the sendnews.asp page in your browser, using
an http:// address and a Microsoft Web server.
12. Enter an e-mail address in the text box (either your
own, for testing, or the address of one of your
distribution lists).
13. Click Submit.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*