THe mail sent through the ASP code given below is going to "Queue" folder in "C:\Inetpub\mailroot"...And the code is
Code:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Subject"
objMessage.from = "some@gmail.com"
objMessage.To = "some@gmail.com"
objMessage.TextBody = "e-mail message"
objMessage.Send
Code:
From: postmaster@mymachinename
To: some@gmail.com
Date: Tue, 8 Apr 2008 12:06:24 +0530
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01C893ACAADA63DA0000006Dmymachinename "
Message-ID: <NXRPmcarc0000002e@mymachinename>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
--9B095B5ADSN=_01C893ACAADA63DA0000006Dmymachinename
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
some@gmail.com
