Community Discussions and Support
Automated email send using Mercury

Or create a queue file and place it in the queue.

Or create a queue file and place it in the queue.

Hi all,

I posted a similar question on this yesterday, but i think in the wrong area. I want to be able to create a .bat file that will tell Mercury to email me my IP address each morning. Is this possible, and if so, how? I thought it might be something like the following, but so far does not work:

##########################

@echo off

echo Put IP address into file...
ipconfig /all > Computer-IP-address.txt

echo Sending file with IP address...
C:\Program Files\xampp\MercuryMail\mercury.exe -FROM user@domain.co.uk -TO user@domain.co.uk -ATTACH Computer-IP-address.txt -MSG "IP address is attached - Computer-IP-address.txt"

echo Clear temporary files...
del Computer-IP-address.txt

echo Done...

########################## 

Can Mercury be controlled in this way at all? Can anyone tell me what commands i would need to make this work please?

Many thanks,
Atephoald.
 

<p>Hi all,</p><p>I posted a similar question on this yesterday, but i think in the wrong area. I want to be able to create a .bat file that will tell Mercury to email me my IP address each morning. Is this possible, and if so, how? I thought it might be something like the following, but so far does not work:</p><p>########################## </p><p>@echo off echo Put IP address into file... ipconfig /all > Computer-IP-address.txt echo Sending file with IP address... C:\Program Files\xampp\MercuryMail\mercury.exe -FROM user@domain.co.uk -TO user@domain.co.uk -ATTACH Computer-IP-address.txt -MSG "IP address is attached - Computer-IP-address.txt" echo Clear temporary files... del Computer-IP-address.txt echo Done...</p><p>########################## </p><p>Can Mercury be controlled in this way at all? Can anyone tell me what commands i would need to make this work please?</p><p>Many thanks, Atephoald.  </p>

Mercury is a mail server program. To send an automated email you could use a command line email client such as Blat (http://www.blat.net/).

/Rolf 

<p>Mercury is a mail server program. To send an automated email you could use a command line email client such as Blat (<a href="http://www.blat.net/" target="_top">http://www.blat.net/).</a></p><p>/Rolf </p><a href="http://www.blat.net/" target="_top"></a>

...and Pegasus-Mail can also sending E-Mails controlled by command-Line.

(see "Command-Line options" in Help-File of Pegasus-Mail)

 

Hans 

<p>...and Pegasus-Mail can also sending E-Mails controlled by command-Line.</p><p>(see "Command-Line options" in Help-File of Pegasus-Mail) </p><p> </p><p>Hans </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft