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 &gt; 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>##########################&nbsp;</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.
&nbsp;</p>