For ASP you need to specify the iMS queue folder like:

iMSMailObj.SpoolDir="e:\ims\out\"

HTH,

Howie

----- Original Message ----- 
From: "I Chang" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 4:04 PM
Subject: [iMS] How to send mail in ASP


> Hello:
> 
>    I have written a test asp to use iMSMail, we have
> purchased the SE version of iMSMail, here is my sample
> code.  After I run the asp, the com object is
> successfully instantiated, but I do not receive any
> email message, when I print out the ResultString, it
> gives me
> 
> Testing complete: Error - output directory () does not
> exist or is not accessible
> 
> I must have missed something, could you help me with
> this?  Any good documentation for ASP developers for
> using IMSMail?  Thanks!
> 
> Sample Code
> -----------
> 
> <%
> 
>     Set iMSMailObj = CreateObject("iMSMail.SendMail")
>     iMSMailObj.SMTPFROM = "[EMAIL PROTECTED]"
>     iMSMailObj.SMTPTO = "[EMAIL PROTECTED]"
>     iMSMailObj.Body = "Testing"
>     iMSMailObj.SendMail
>     curString = iMSMailObj.ResultString
>     Set iMSMailObj = Nothing
> 
>     Response.write "Testing complete: " & curString
> 
> %>
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================


Reply via email to