- Aug
- 2,267
- 108
Since I cannot get SENDMAIL to work for me, and I have had no response to my support question (How to? - SendMail and SSL),
I have found a program called SendEMail.exe, available from (caspian.dotconf.net/menu/Software/SendEmail/).
I created a SendEMail.ini file, which is as follows;
I have encrypted both my user and password in the SendEMail.ini file.
Next, I have a .BTM file read the values from SendEMail.ini, and populate the arguments for SendEMail.exe;
This does what I need it to do, and does it well.
Joe
I have found a program called SendEMail.exe, available from (caspian.dotconf.net/menu/Software/SendEmail/).
I created a SendEMail.ini file, which is as follows;
Code:
[Sendemail]
smtpserver=smtp.gmail.com:587
user=amxjJLCljlc6
password=JCx1bDI2clj1NjlcIw==
I have encrypted both my user and password in the SendEMail.ini file.
Next, I have a .BTM file read the values from SendEMail.ini, and populate the arguments for SendEMail.exe;
Code:
@setlocal
@echo off
input Enter your message: %%themsg
set yorn=N
inkey /K"YN" Send this message (Y/N)? %%yorn
iff %yorn eq Y then
set smtpserver=%@iniread[.\sendemail.ini,Sendemail,smtpserver]
set user=%@jlcdecode[s,%@iniread[.\sendemail.ini,Sendemail,user]]
set password=%@jlcdecode[s,%@iniread[.\sendemail.ini,Sendemail,password]]
sendemail -f [email protected] -t [email protected] -v -m "%themsg" -s %smtpserver -xu %user -xp %password -v
else
echo Message not sent.
endiff
endlocal
This does what I need it to do, and does it well.
Joe