emailQ.NET is a companion product of Smtp.NET. emailQ.NET
monitors the specified "queue" directory for email message files and
delivers them immediately or at a specifed date and time.
emailQ.NET works in the following way:
- Smtp.NET generates email message.:
Click Here for an example.
- Instead of sending the message immediately, Smtp.NET
creates a file with a ".eml" file extension. Eml files contain codes
that are recognized by Microsoft IIS Smtp Server and emailQ.NET.
Note the lines with X-Sender, X-Reciever, etc.:
- Smtp.NET moves the Eml file to the "queue" directory. By default,
the "queue" directory is set to "C:\temp\smtpq". Note the name of the file is
"SmtpDotNet.1535940201.2131085409.eml":
- emailQ.NET monitors the "queue" directory for Eml files.
- If an Eml file is scheduled for future delivery, it is moved to
the "Scheduled" directory.
- An Eml file is scheduled if the file's creation date and time
are greater than the current system date and time.
- If the Eml file's creation date and time are older or equal
to the current date and time, then the Eml file is immediate delivered.
- If an Eml file cannot be delivered, it is moved to the "Undeliverable"
directory.
- If an Eml file is successfully delivered, it is moved to the
"Sent" directory.