Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 10th, 2004, 02:34 AM
Authorized User
 
Join Date: Mar 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default PLS HELP

Hey ppl!

i used to use the following code to send emails and it used to work fine

but after i formatted my hard disk it doesnt send emails anymore

what is the problem

i dont get any errors .. it just doesnt do anything

do i have to change any setting in my pc

??

<%
Dim iMsgs
Set iMsgs = Server.CreateObject("CDO.Message")
Dim iConfi
Set iConfi = Server.CreateObject("CDO.Configuration")
Dim Fldss
Set Fldss = iConfi.Fields
Fldss( "http://schemas.microsoft.com/cdo/configuration/sendusing") = 1

Fldss("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:\inetpub\mailroot\pickup"
Fldss.Update

Set iMsgs.Configuration = iConfi

iMsgs.To = "..."
iMsgs.From = "..."
iMsgs.Subject = "Waiting List updates "
iMsgs.TextBody = "Some copies are in "
iMsgs.Send 'commands CDO to send the message


%>


What Comes Around Goes Around!
__________________
What Comes Around Goes Around!
 
Old March 10th, 2004, 04:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Did you install an OS after you formatted your hard disk? ;)

Just kidding; maybe you forgot to install the SMTP Server under IIS?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 10th, 2004, 04:44 AM
Authorized User
 
Join Date: Mar 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

lool

yeah i did install the SMTP server

this is why i am looosing my mind hehe

What Comes Around Goes Around!





Similar Threads
Thread Thread Starter Forum Replies Last Post
pls help me.. nilusharief003 ASP.NET 2.0 Professional 5 December 4th, 2008 08:05 AM
Pls help me!! hoailing22 ASP.NET 1.0 and 1.1 Basics 4 June 10th, 2005 11:24 PM
Pls help me hoailing22 ASP.NET 1.0 and 1.1 Basics 3 May 24th, 2005 11:08 AM
Pls!!! I need your Help!!! Ariel ASP.NET 1.0 and 1.1 Basics 3 May 9th, 2005 06:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.