Please note that you can subscribe to the individual forums. A subscription for news only covers the news.
Hi Sven,
Would you be able to add SSL/TSL flag to the email configuration?
From what I've experienced there's really no smtp providers that don't require SSL now.
Thank you so much for this program.
I'm not sure. I'll see what I can do.
You're welcome. 🙂
Sven
seems that's the way email is going. would be a nice to have. thx
I'm working on a new version 4 where I will use a different plugin to send mails. This will probably support SSL. I will look into it.
However, it will take some time before the new version is out, as I don't have much time at the moment.
Sven
I've solved this by adding SSL support via stunnel. It's a 3rd party software that must always run (invisibly in the background) on the subs PC. I simply created a job in my script ordering the sub to set it up:
[job-IMPORTANT: Setup stunnel]
mustStart=1
run=daily
oneTime=1
text=Reports are automatically sent via e-Mail.
text=All modern e-mail providers use SSL encryption, but this is unfortunately not supported by Virtual Master.
text=Therefore you'll need to add SSL support externally via stunnel.
text=1. Download stunnel from stunnel.org and install it.
text=2. Edit the stunnel.conf file, it should look like this:
text=client = yes
text=[SMTP]
text=accept = 127.0.0.1:25
text=connect = smtp.gmail.com:465
text=
text=3. Make sure stunnel runs and has the edited conf file loaded.
text=4. Test if it works by sending me a report. You will get a message if it fails.
Works well for me.
email frustration.
I decided to try email again, cannot make it work.
I have installed stunnel and configured:
[SMTP]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verifyChain = yes
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes
When I try to send an email log file shows
mo 24 6:00:16 PM Mail #19 sent to xxxx@gmail.com
mo 24 6:00:16 PM Mail #19 24-04-2023 6:00:16 PM
mo 24 6:00:16 PM Status: Available
mo 24 6:00:16 PM slave Report Report-2023-04-24-22.htm
mo 24 6:00:16 PM Make new report.
mo 24 6:00:29 PM Mail error: Connection Closed Gracefully..
mo 24 6:00:29 PM SMTP connecting to smtp.gmail.com
mo 24 6:00:31 PM Mail error: mail not sent.
mo 24 6:00:31 PM SMTP connecting to smtp.gmail.com
My script config is
;eMail - SMTP
smtp=smtp.gmail.com
smtpPort=465
; tlsPort=587
smtpUser=xxxx@gmail.com
smtpPassword=12345
subemail=yyyy@hotmail.com
masteremail=xxxx@gmail.com
AutoMailReport=1
ShowMailWindow=1
TestMail=1
MailLog=1
Running Windows 11.
Anyone have a clue what I'm doing wrong?
@agitatedAlpaca: Thank you!
Unfortunately I have no time fot the program for the time being.
Sven
The new beta version 4.0 can use SSL/TLS.
Sven