"Can't send command to SMTP host"

Support for Windows 10 users and the Microsoft Store package
Post Reply
melvynadam
Posts: 22
Joined: 29 Jun 2016, 09:51

"Can't send command to SMTP host"

Post 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.
melvynadam
Posts: 22
Joined: 29 Jun 2016, 09:51

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

Post 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!).
User avatar
rednoah
The Source
Posts: 19141
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply