Page 6 of 7
Re: E-mail
Posted: Mon Mar 14, 2016 12:08 pm
by Henrik4223
I also have problems with this plugin and Gmail - is the plugin still "supported"?

Re: E-mail
Posted: Wed Mar 16, 2016 8:39 am
by Henrik4223
Shaggy
I had the same problem as you but got it solved.
I used the following settings for Gmail:
User login: [YOUR_LOGIN)@gmail.com
User password: [YOUR_PASSWORD)
Tick the IMAP option under account type and tick the "use secure authentication" and SSL.
Incoming server: imap.gmail.com port 993
Outgoing server: use SSL and smtp.gmail.com port 465, User login: I have just entered the name and not the "gmail.com".
When sending mail I first put my email in the first box under "To:" but this is not for the email and is only optional. Use the second box (if you hold the curser on the boxes it actually describes what to put in them

)
Re: E-mail
Posted: Sun Apr 03, 2016 7:57 pm
by DanRoss
Hey Pako, I'm not sure if you're still doing anything with this plugin but I had a problem that I had to modify it to fix.
I was trying to send an email to an email address that had a + in the user name but the send email action didn't like it. I had to change your validate email address function to this to get it to work:
Code: Select all
def validateEmailAddr(emailAddr):
if len(emailAddr) > 5:
if re.match(
r"^([a-zA-Z0-9_\-\.+]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$",
emailAddr
) != None:
return True
return False
Re: E-mail
Posted: Tue Apr 05, 2016 3:19 pm
by kgschlosser
Question does this plugin support sending photo attachments??
K
Re: E-mail
Posted: Mon May 30, 2016 8:47 pm
by tjabas
Hello.
I have tellstick duo, Evert time someone uses The doorbell i get an action in eventghost, is it possible to get an e-mail or sms automaticly Every time The doorbell rings?
Re: E-mail
Posted: Mon May 30, 2016 10:13 pm
by kgschlosser
you can send sms messages if you know what the e-mail address to yout phone number is.
for at&t a phones e-mail is formatted like so
[email protected]
the digits would be your phone number
you will have to set up an smtp relay with google (pretty easy)
incoming using google
server: imap.gmail.com
port: 993
and for the outgoing
server: smtp.gmail.com
port: 465
connection: SSL
username and password: checked
userlogin: your gmail account @gmail.com
userpassword: your gmail account password
just to let you know this had me stuck for a while
in the action config dialog for sending an e-mail there are 2 boxes next to the "To: "
the left one i have no clue what it's fore. but the right one is where you need to enter the email address of the phone
and i believe you have to enter something in the subject line even tho it maynot show. i do know the body shows in the text
depends on the carrier
K
Re: E-mail
Posted: Thu Jul 28, 2016 3:19 pm
by raulegido
Hi.
First thanks for your plugin.
I┬┤m trying to use it but i receive this error
IMAP Protocol Error: Cannot log in to account "
[email protected]" on server "imap.gmail.com:993"
I rechecked everything and the data is correct.
Is this plugin outdated?
thanks a lot in advance
Re: E-mail
Posted: Sat Jul 30, 2016 1:13 am
by kgschlosser
setup for using E-Mail Plugin with Google Mail (gmail)
Plugin Settings:
User Login:
[email protected]
User Password: The Password you use to login to gmail
E-Mail Address: Same as User login
Use secure authentication: Checked
Use secure connection: SSL
Incoming server: imap.gmail.com
port: 993
Outgoing server settings:
Use secure connection: SSL
Outgoing SMTP server: smtp.gmail.com
port: 465
Use name and password: Checked
User login: same as User login above
User password: Same as User password above
Now i do not remember if there is a setting to turn on the IMAP and SMTP with google I know there is with hotmail. if it doesn't work i would poke around in your gmail settings on googles site and see if you can find something to enable the IMAP
Re: E-mail
Posted: Sun Aug 21, 2016 1:05 am
by raulegido
kgschlosser wrote:setup for using E-Mail Plugin with Google Mail (gmail)
Plugin Settings:
User Login:
[email protected]
User Password: The Password you use to login to gmail
E-Mail Address: Same as User login
Use secure authentication: Checked
Use secure connection: SSL
Incoming server: imap.gmail.com
port: 993
Outgoing server settings:
Use secure connection: SSL
Outgoing SMTP server: smtp.gmail.com
port: 465
Use name and password: Checked
User login: same as User login above
User password: Same as User password above
Now i do not remember if there is a setting to turn on the IMAP and SMTP with google I know there is with hotmail. if it doesn't work i would poke around in your gmail settings on googles site and see if you can find something to enable the IMAP
Hi, thanks for your response.
I have everything like you said, but when i try to get the messages i get an email for google telling me there┬┤s an intent to access from a non secure application and that security standards are not up to date.
Do you know how to turn this around?
Thanks a lot in advance
Re: E-mail
Posted: Tue Mar 14, 2017 6:24 pm
by loveleejohn
raulegido wrote:
Hi, thanks for your response.
I have everything like you said, but when i try to get the messages i get an email for google telling me there┬┤s an intent to access from a non secure application and that security standards are not up to date.
Do you know how to turn this around?
Thanks a lot in advance
To get around this, you must go to gmail account and enable less secure apps to access the account.
https://support.google.com/accounts/ans ... 0255?hl=en
For safety I would recommend only using email accounts that aren't very important for this.

Re: E-mail
Posted: Tue Mar 14, 2017 6:25 pm
by loveleejohn
kgschlosser wrote:setup for using E-Mail Plugin with Google Mail (gmail)
Plugin Settings:
User Login:
[email protected]
User Password: The Password you use to login to gmail
E-Mail Address: Same as User login
Use secure authentication: Checked
Use secure connection: SSL
Incoming server: imap.gmail.com
port: 993
Outgoing server settings:
Use secure connection: SSL
Outgoing SMTP server: smtp.gmail.com
port: 465
Use name and password: Checked
User login: same as User login above
User password: Same as User password above
Now i do not remember if there is a setting to turn on the IMAP and SMTP with google I know there is with hotmail. if it doesn't work i would poke around in your gmail settings on googles site and see if you can find something to enable the IMAP
Thanks for being so helpful on this forum kg! Your efforts are not unnoticed!

Re: E-mail
Posted: Sat Feb 03, 2018 12:54 pm
by topix
New version which only has some changes to work with EventGhost 0.5.
Re: E-mail
Posted: Fri Jul 27, 2018 7:28 am
by Snowbird
Hi, thanks for the fix
is there a way to not specify a minimum check interval when operating in IMAP ? the minimum that could be set is 1 minute. I understand there's a meaning for that while using POP, but IMAP should keep the connection and receive mail in almost real time.
Re: E-mail
Posted: Fri Jul 27, 2018 8:34 am
by Snowbird
and by the way, there is still an error when the plugin starts (using : WIP-2018.06.03-12.44.49) :
Code: Select all
27/07 10:23:36 ---> Welcome to EventGhost <---
27/07 10:23:36 Windows.User.Me {'IsLocalAdmin': True, 'IsDomainLogin': False}
27/07 10:23:36 EventGhost.Startup friday, july 27th, 2018 @ 10:23:36
27/07 10:23:36 Autostart
27/07 10:23:36 Plugin: E-mail
27/07 10:23:36 Exception in thread Thread-9:
27/07 10:23:36 Traceback (most recent call last):
27/07 10:23:36 File "threading.pyc", line 801, in __bootstrap_inner
27/07 10:23:36 File "threading.pyc", line 754, in run
27/07 10:23:36 File "C:\Program Files (x86)\EventGhost\eg\Classes\SerialThread.py", line 391, in ReceiveThreadProc
27/07 10:23:36 raise SerialError()
27/07 10:23:36 SerialError: (6, 'The handle is invalid.')
27/07 10:23:37
Re: E-mail
Posted: Fri Jul 27, 2018 11:04 am
by Snowbird
the filtering rules don't seem to work either