Forums
This topic is locked
ASP form
Posted 29 Dec 2003 18:14:15
1
has voted
29 Dec 2003 18:14:15 Tommy Ready posted:
hey, can ASP send e-mails with out perl/cgi or anything else? Replies
Replied 29 Dec 2003 19:55:08
29 Dec 2003 19:55:08 Rene Bandsma replied:
Sure you can, but you have to use CDONTS or CDOSYS. But that are standard components in ASP. Search on the Microsoft Knowlegde Base or Google to these keywords.
Replied 30 Dec 2003 10:33:14
30 Dec 2003 10:33:14 Martha Graham replied:
Check the Smart Mailer ASP extension here at DMXzone: www.dmxzone.com/go?5578
Martha Graham
DMXzone manager
Martha Graham
DMXzone manager
Replied 30 Dec 2003 12:55:08
30 Dec 2003 12:55:08 Vince Baker replied:
I user AspMailer which is quite simple to configure....(not comparing it to Smart Mailer as have never used it).
You do need to do some hand coding though....I assume that with the Smart Mailer you would have a wizard interface.
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
You do need to do some hand coding though....I assume that with the Smart Mailer you would have a wizard interface.
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 30 Dec 2003 16:40:00
30 Dec 2003 16:40:00 Tommy Ready replied:
ok, I'm running IIS on my XP Professional machine. I do all the testing here and then goto our Windows 2K3 webserver.....so is there another way around that doesn't require cdonts.dll ????
Replied 30 Dec 2003 17:02:14
30 Dec 2003 17:02:14 Tommy Ready replied:
ok...I found cdosys.dll on Xp professional is that going to be enough to run ASP mailer?
Replied 31 Dec 2003 00:27:12
31 Dec 2003 00:27:12 Rene Bandsma replied:
When you have CDOSYS.DLL found en configured right, then you can e-mail with ASP and the CDOSYS component. Check the code below and run a check to be sure that your server is configured right.
<%
set objMessage = createobject("cdo.message"
set objConfig = createobject("cdo.configuration"
' Setting the SMTP Server
Set Flds = objConfig.Fields
Flds.Item("schemas.microsoft.com/cdo/configuration/sendusing") = 2
Flds.Item("schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
Flds.update
Set objMessage.Configuration = objConfig
objMessage.To = " "
objMessage.From = " "
objMessage.Subject = "This is a sample email sent using CDO"
objMessage.TextBody = "Congratulation" & VbCrLf & "If you receive this is, your mail component works"
objMessage.fields.update
objMessage.Send
Response.write "Mail sent..."
set objMessage = nothing
set objConfig = nothing
%>
Good luck....
<%
set objMessage = createobject("cdo.message"
set objConfig = createobject("cdo.configuration"
' Setting the SMTP Server
Set Flds = objConfig.Fields
Flds.Item("schemas.microsoft.com/cdo/configuration/sendusing") = 2
Flds.Item("schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
Flds.update
Set objMessage.Configuration = objConfig
objMessage.To = " "
objMessage.From = " "
objMessage.Subject = "This is a sample email sent using CDO"
objMessage.TextBody = "Congratulation" & VbCrLf & "If you receive this is, your mail component works"
objMessage.fields.update
objMessage.Send
Response.write "Mail sent..."
set objMessage = nothing
set objConfig = nothing
%>
Good luck....
Replied 03 Jan 2004 19:56:16
03 Jan 2004 19:56:16 Tommy Ready replied:
Hey, I got that ASPMailer thing. I went through the cdonts.dll install and configure tutorial on some microsoft site....everything seems to work fine, but I never get an e-mail?? Is there a tutorial somewhere on setting up and using cdonts.dll in detail.....cause I'm lost!