> I am trying to use the -j command line option to send emails. If
> there is an instance of Pegasus running then the emails are sent
> immediately. However if Pegasus is not running the emails are queued
> and when I next run it , on exit I am prompted to send the queued
> emails. Is this the expected action of Pegasus?
Yes, it you want to send a message immediately then you should use a command line mailer like Blat!.
BLAT http://sourceforge.net/projects/blat
DESCRIPTION:
Blat is a Public Domain Windows NT console utility that sends the contents of a file in an e- mail message using the SMTP protocol. Blat is useful for creating scripts where mail has to be sent automatically (CGI, backups, etc.) To use Blat you must have access to a SMTP server via TCP-IP. Blat uses the a DLL ("gensock" or "gwinsock") from WinVN, the public domain usenet newsreader for windows. Blat can store a default SMTP server address and a default "From:" field in the registry. The server's address can be overriden using the -server flag, and the "From:" address using the -f flag. Input from the console (stdin) can be used instead of a disk file (if the special filename '-' is specified). Blat can also "carbon copy" and "blind carbon copy" the message. Impersonation can be done with the -i flag which puts the value specified in the "From:" line, however when this is done the real senders address is stamped in the "Reply-To:" and "Sender:" lines. This feature can be useful when using the program to send messages from NT users that are not registered on the SMTP host.
Optionally, blat can also attach multiple binary files to your message.
That said, if you are using Mercury/32 to send the mail then there are a number of other options as well.
<p>&gt; I am trying to use the -j command line option to send emails. If
&gt; there is an instance of Pegasus running then the emails are sent
&gt; immediately. However if Pegasus is not running the emails are queued
&gt; and when I next run it , on exit I am prompted to send the queued
&gt; emails. Is this the expected action of Pegasus?
Yes, it you want to send a message immediately then you should use a command line mailer like Blat!.
BLAT&nbsp; http://sourceforge.net/projects/blat
DESCRIPTION:
Blat is a Public Domain&nbsp; Windows NT console utility that sends the contents of a file in an e- mail message using the SMTP protocol. Blat is useful for creating scripts where mail has to be sent automatically (CGI, backups, etc.) To use Blat you must have access to a SMTP server via TCP-IP. Blat uses the a DLL ("gensock" or "gwinsock") from WinVN, the public domain usenet newsreader for windows. Blat can store a default SMTP server address and a default "From:" field in the registry. The server's address can be overriden using the -server flag, and the "From:" address using the -f flag. Input from the console (stdin) can be used instead of a disk file (if the special filename '-' is specified). Blat can also "carbon copy" and "blind carbon copy" the message. Impersonation can be done with the -i flag which puts the value specified in the "From:" line, however when this is done the real senders address is stamped in the "Reply-To:" and "Sender:" lines. This feature can be useful when using the program to send messages from NT users that are not registered on the SMTP host.&nbsp; &nbsp;
Optionally, blat can also attach multiple binary files to your message.
That said, if you are using Mercury/32 to send the mail then there are a number of other options as well.</p><p>&nbsp;</p>