Sets or retrieves the spool directory, used by IPSwitch IMail mail server.
For faster processing, set this property. If IMailSpoolDirectory is not set, aspNetEmail must check multiple locations in your system in an attempt to locate it.
[C#]
EmailMessage msg = new EmailMessage( );
msg.FromAddress = "me@MyCompany.com";
msg.To = "you@YourCompany.com";
msg.Subject = "Daily Newsletter";
msg.Body = "Here is our daily newsletter.....";
msg.IMailSpoolDirectory = "c:\\imail\\spool\\";
msg.SendToIMailQueue();
[Visual Basic]
Dim msg As New EmailMessage()
msg.FromAddress = "me@MyCompany.com"
msg.To = "you@YourCompany.com"
msg.Subject = "Daily Newsletter"
msg.Body = "Here is our daily newsletter....."
msg.IMailSpoolDirectory = "c:\imail\spool\"
msg.SendToIMailQueue()