>I was wondering if it is possible to create a text file (properly formatted
>message), save the file in the IMail spool directory, and have IMail send
>out the message?

Yes, you can.

>I read the help file about the first letters on the file names and file
>extensions in the spool directory -- but I am a little confused about which
>file initiates the whole process.

That's because Ipswitch doesn't document the method of sending E-mail via a 
spool file.  It isn't recommended to send mail this way.  Since it isn't 
documented, and I don't believe many people send mail this way, you do so 
at your own risk.  But, it should be relatively safe.

In order to send mail via the spool, you need to have 2 files (one with the 
actual E-mail including every header, the other using IMail's proprietary 
recipient file format) in the spool directory.  You already know the naming 
(the key being to have the "data" file (actual E-mail) begin with "D" and 
the "recipient" file begin with "Q".  Then, you can either wait for the 
queue run to pick up the file and send it (every 20 minutes or so depending 
on your settings), or you can call the smtp32.exe process with the file 
name including path (this isn't documented either, though, if I recall 
correctly).

The key here is figuring out the recipient file format.  If you look at 
several of the "Q" files, you should be able to figure it out.  Although 
it's proprietary and undocumented (read: Do This At Your Own Risk), it's 
pretty easy to figure out.

                                                            -Scott

Declude: Anti-virus, Anti-spam and Anti-hijacking solutions for 
IMail.  http://www.declude.com



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to