Wed, 16 Oct 2013 09:27:13 -0700
|
Microsoft IIS/ASP version
I set all the lists to conceal by default option. The simple mailto: link suggested is the easiest way. Just set the list to conceal.
Default-Options= REPRO,SUBJECTHDR,CONCEAL
To do an HTML web page subscription to a list: A sample working page is here. http://www.seattle.gov/lists/curbwaste.htm
Then I use this form. Anything beyond the mailto will require some type of basic coding.
<form action="http://myserver.seattle.gov/lists/lsoftupdate.asp" method="post"> ( A form we wrote in ASP)
<input type="hidden" name="varListName" value="nameoflist"> (varListname here just passes on the listname to the processing form)
<p><strong>Enter your e-mail address:</strong><br />
<input type="text" size="45" name="Email" />
<input type="submit" value="Subscribe"> </p>
</form>
<h2>Unsubscribe</h2>
<p>To unsubscribe, <a href="mailto:[log in to unmask]"><strong>email</strong></a> a blank message to the administrator.<br />
No email subject or message is required.</p>
Then I post to the ASP page that emails the subscription to the list.
The basic email object for IIS is.
'CDOsys settings
Const cdoSendUsingMethod = "http://schemas.microsoft.com/cdo/configuration/sendusing"
Const cdoSMTPServer = "http://schemas.microsoft.com/cdo/configuration/smtpserver"
Const cdoSMTPServerPort = "http://schemas.microsoft.com/cdo/configuration/smtpserverport"
Const cdoSMTPConnectionTimeout = "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"
Const cdoSMTPAuthenticate = "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"
Set objConfig = Server.CreateObject("CDO.Configuration")
Set Fields = objConfig.Fields
With Fields
.Item(cdoSendUsingMethod) = 2
.Item(cdoSMTPServer) = varDNSSMTP (The DNS name of your SMTP server)
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPConnectionTimeout) = 10
.Update
End With
Set objMessage = Server.CreateObject("CDO.Message")
Set objMessage.Configuration = objConfig
With objMessage
.To = varListerv (The listserv email address)
.From = strEmailaddr (Any valid From address)
.Subject = strSubject (Descriptive subject)
.TextBody = strEmailmessage (The actual email command that subscribes the person. We use ASP code to construct this variable)
.Send
End With
From: LISTSERV site administrators' forum [mailto:[log in to unmask]] On Behalf Of Pete Weiss
Sent: Wednesday, October 16, 2013 9:00 AM
To: [log in to unmask]
Subject: Re: Making Subscription to a List Painless
Anyone figuring out how NOT to use a name field in their email FROM: field (using the MAILTO listname-SUBCRIBE-REQUEST format) is no longer is the "simple" category and they can figure out the rest of the ANONYMOUS stuff
;-)
Pete
On 10/16/2013 11:51, Nathan Brindle wrote:
There's more to it than that. For one thing, if you are not going to require that the user enter their Firstname Lastname information, you will have to make the LISTSERV command look like
________________________________
To unsubscribe from the LSTSRV-L list, click the following link:
http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTSRV-L&A=1
############################
To unsubscribe from the LSTSRV-L list:
write to: mailto:[log in to unmask]
or click the following link:
http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTSRV-L&A=1
|
|
|