Zoran
-
Total Posts
:
11
-
Reward points
:
120
- Joined: Aug 16 '01
-
Status: offline
|
Other Email Support
Thu. Sep 20, '01 6:16 AM
( permalink)
First I would like to say that you have done a great job on this forum! I was wondering if you will be planning on adding more Email support besides CDONTS and JMail. I think this would be a nice feature for future editions. I' ve just added a routine for ASPMail and it seems to be working. Only problem is the email forwarding option can only take one e-mail address at a time at the moment. Anyway, for those that are interested, here is the code. Add this in the js/mailroutine.asp file. Case " ASPMail" Dim objASPMail Set objASPMail = Server.Createobject(" SMTPsvg.Mailer" ) with objASPMail .RemoteHost = smtpIP .FromName = senderN .FromAddress = senderE .AddRecipient " " , mailTo .AddRecipient " " , mailCC .Subject = subject .BodyText = body .SendMail end with Set objASPMail = nothing Also need to add this to the admin/emailup.asp file <select name=" maildll" > <option value=" CDONTS" <% if maildll=" CDONTS" then response.write " selected" %>>CDONTS</option> <option value=" Jmail" <% if maildll=" Jmail" then response.write " selected" %>>JMail</option> <option value=" ASPMail" <% if maildll=" ASPMail" then response.write " selected" %>>ASPMail</option> <option value=" NoMail" <% if maildll=" NoMail" then response.write " selected" %>>Don' t allow e-mail</option> </select> Hope it helps some
|
|
|
|
Samuel
-
Total Posts
:
11786
-
Reward points
:
168350
- Joined: May 23 '01
-
Status: offline
|
RE:Other Email Support
Thu. Sep 20, '01 5:19 PM
( permalink)
ORIGINAL : Zoran First I would like to say that you have done a great job on this forum! I was wondering if you will be planning on adding more Email support besides CDONTS and JMail. I think this would be a nice feature for future editions. I' ve just added a routine for ASPMail and it seems to be working. Only problem is the email forwarding option can only take one e-mail address at a time at the moment. Thanks for your code. And yes, I am planning on supporting additional E-mail components in the near future. And as for your code, it is correct to write it that way. It is actually really simple to write codes to support additional components with ASP Playground Forum. As for multiple recipients, I will have to check out how ASPMail handles multiple recipeints (the syntax) first to see how to modify the codes you provided. Thanks, and I really appreciate your contribution. _____________________________ [image]image/mysig.gif[/image]
< Message edited by Admin on 10/21/2001 1:38:20 AM >
|
|
|
|