ASP Sending e-mail with CDOSYS |
ASP Sending e-mail with CDOSYS |
Apr 29 2008, 20:51
Post
#1
|
|
Advanced Member Group: Members Posts: 3,005 Joined: 11-September 07 Member No.: 2 |
ASP Sending e-mail with CDOSYS:
QUOTE Sending e-mail with CDOSYS CDO (Collaboration Data Objects) is a Microsoft technology that is designed to simplify the creation of messaging applications. CDOSYS is a built-in component in ASP. We will show you how to use this component to send e-mail with ASP. How about CDONTs? Microsoft has discontinued the use of CDONTs on Windows 2000, Windows XP and Windows 2003. If you have used CDONTs in your ASP applications, you should update the code and use the new CDO technology. CODE <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.TextBody="This is a message." myMail.Send set myMail=nothing %> Bron: http://www.w3schools.com/asp/asp_send_email.asp |
|
|
Lo-Fi Version | Time is now: 31st October 2024 - 01:28 |