It's a Windows NT Server. There have been applications developed 
using CDO, so i am sure it's being used. I also used FileSystemObject 
that writes the mail command to a file and i put the file in 
c:\inetpub\mailroot\pickup directory for the mail server to pick it 
up automatically. Does this require CDO also?

My guess is that the mail server is not running because it's a 
development box.

Thanks,
KP
--- In [email protected], <[EMAIL PROTECTED]> wrote:
> What OS, XP-2000? 
>  
> Do you know for sure that your server uses CDO? Perhaps the use 
Persits, etc.?
>  
> Tim Cadieux
> IT Applications Analyst | Analyste d'applications
> Information Management and Technology Directorate | Directorat de 
la gestion de l'information et de la technologie
> Corporate Services Branch | Direction des services minist�riels
> Department of Finance and Treasury Board of Canada Secretariat | 
Minist�re des Finances et Secr�tariat du Conseil du Tr�sor du Canada
> Ottawa, Canada K1A 0G5
> 613-944-4982 | [EMAIL PROTECTED] | facsimile/t�l�copieur 613-944-4982
>  
> 
>  
>  
> -----Original Message-----
> From: kpraoasp [mailto:[EMAIL PROTECTED]
> Sent: March 14, 2005 11:39 AM
> To: [email protected]
> Subject: [ASP] Mail
>  
> 
> I am trying to send an email from ASP Application. This is the 
code -
> 
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set f = fso.OpenTextFile("c:\inetpub\mailroot\pickup\kp1.txt")
> f.Write "From:" & "[EMAIL PROTECTED]"  & vbCRLF
> f.Write "To:" & "[EMAIL PROTECTED]" & vbCRLF
> f.Write "Subject: Testing" & vbCRLF
> f.Write "Body" & vbCRLF & vbCRLF
> f.Write "This is a test" & vbCRLF & vbCRLF
> f.Close
> 
> I also used CDO.Message
> 
> Set myMail = Server.CreateObject("CDO.Message")
> myMail.Subject="Sending email with CDO"
> myMail.From="[EMAIL PROTECTED]"
> myMail.To="[EMAIL PROTECTED]"
> 
> myMail.TextBody="This is a message."
> myMail.Send
> 
> But in both cases, i dont receive the mails. Does that mean that 
the 
> mail server is not running?
> 
> Thanks,
> KP
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
-    
> Home       : http://groups.yahoo.com/group/active-server-pages
> --------------------------------------------------------------------
-
> Post       : [email protected]
> Subscribe  : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> --------------------------------------------------------------------
- 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> ADVERTISEMENT
>  
<http://us.ard.yahoo.com/SIG=129c46pb1/M=298184.6018725.7038619.300117
6/D=groups/S=1705115381:HM/EXP=1110904767/A=2593423/R=0/SIG=11el9gslf/
*http://www.netflix.com/Default?mqso=60190075> click here
> 
>   <http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=groups/S=:HM/A=2593423/rand=5140433
05> 
>  
>   _____  
> 
> Yahoo! Groups Links
> *         To visit your group on the web, go to:
> http://groups.yahoo.com/group/active-server-pages/
>   
> *         To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED] <mailto:active-
[EMAIL PROTECTED]> 
>   
> *         Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> [Non-text portions of this message have been removed]





---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to