Page 1 of 1

"Can't send command to SMTP host"

Posted: 06 Nov 2017, 06:32
by melvynadam
I've just switched computers (one Win10 PC to another).
On my previous computer, uTorrent invoked Filebot after completing a download and sent an email using the parameter:

Code: Select all

--def gmail= 
On the new computer, the same command (copied and pasted between the two PCs) results in this error in the FB log:

Code: Select all

MessagingException: Can't send command to SMTP host
The files are renamed and moved as I'd like but no emails are being sent.

Re: "Can't send command to SMTP host"

Posted: 06 Nov 2017, 07:49
by melvynadam
After playing with sendEmail for a while I found that when specifying the 587 port and enabling tls I was able to send an email from the command line.

This was the command:

Code: Select all

sendEmail.exe -f [my full email address] -t [my full email address] -s smtp.gmail.com:587 -o tls=yes -xu [my full email address] -xp [password removed] -u Test -m Test
So, this proved that SMTP sending from the CLI is not blocked by any Windows security apps and my account and password work.
Which leaves me puzzled about why I can't get FB to do the same (using a script which works on a different PC!).

Re: "Can't send command to SMTP host"

Posted: 06 Nov 2017, 10:12
by rednoah
I've never seen this issue before. You could try using PushBullet in the meanwhile. That's what I'd recommend for notifications anyway.