Asked
— Edited
Hey DJ, I have the SMTP plugin a go (really looking forward to using this), I seem to have it configured correctly to use my gmail account for SMTP, but when I run a script to send an email, I get this:
Error on line 1: Failure sending mail.
This what I'm using:
ControlCommand("SMTP Client", Send, "[email protected]", "Bob Smith", "Test", "This is a test message")
Does anything look wrong to you?
Justin, the desktop 1 issue is common to all plugins. It is on DJ's todo list. Not sure about the issue of it hiding behind other controls.
Alan
@Alan, (Thank you) do you know the specific thread where that is discussed? I tried to find it but didn't have much luck.
Because I removed the control and added it back and now the plugin control is on my 2nd desktop (which I want) but it is still set to be behind all the other controls still. - This is not a compliant and it's not causing me any problems, I just wanted to share what I observed.
Happy early Memorial Day, for all those in the US.
I don't recall which thread, just that it was discussed... Sorry.
Alan
That is a pretty cool plug in. I have an ATT yahoo account, took a few tries with the settings and getting the script proper but was successful in sending myself a camera image of myself. :-)
Now I am thinking about using CY as a simple cheap security system since I've added a PIR sensor to it. Hmmmm, the possibilities...
Hello Gentlemen,
I am updating the SMTP Client documentation and I was wondering if anyone has figured out how to successfully use the client with gmail yet?
It seems that Alan did, @thetechguru would you mind sharing your settings if they are different than the example here?
Maybe you had some settings configured properly on the Gmail settings side, would you mind sharing those as well?
@Jeremie,
I'll need to see if I can find the project and see if it still works. Google made a change a while ago that disables less secure clients unless you specifically allow them in your account, and by this time, they may have removed that option. They use OAUTH for authentication now rather than user name and password that transmits in plain text.
I'll take a look after work and get back to you.
Alan
Took a quick look and I think the plugin needs to be updated to use TLS/STARTTLS instead of SSL, but you can try just SSL by changing the port to 465 (instead of 587).
I am pretty sure even though you are only doing outbound that you also need to enable IMAP on your account, which is in the account settings in the GMAIL web page.
Also, be sure you don't send more than 500MB a day to avoid having your account locked out. You should only send large attachments or lots of email when using the Gmail web client, not Imap/smtp.
Alan
Thanks for looking into it Alan,
Yeah, you're right, I did have to enable access for less secure devices on the Gmail side.
I did try 465 with SSL, it seems to try but in the end I didn't receive the email on my gmail account.
I believe you're right about the TLS, I have no idea what that is but it seems port 587 is associated with it and not SSL.