HomeGenie Forum

Development => Feature request => Topic started by: bkenobi on February 04, 2014, 04:36:08 PM

Title: Add port number to the send email
Post by: bkenobi on February 04, 2014, 04:36:08 PM
Yahoo and Gmail both require a specific port to send emails.  The command in HG does not allow for selecting a port.  Please add a port to support these and other email servers.

Yahoo:
http://email.about.com/od/accessingyahoomail/f/Yahoo_Mail_SMTP_Settings.htm

Gmail:
http://email.about.com/od/outlookexpressfreemail/qt/Access_Gmail_with_Outlook_Express.htm
Title: Re: Add port number to the send email
Post by: Gene on February 04, 2014, 05:30:37 PM
I'm adding this to the to-do-list.

Title: Re: Add port number to the send email
Post by: freshestf on February 12, 2014, 12:28:23 AM
It looks like the port and SSL options are now available in HomeGenie, but email notifications still do not appear to work with Gmail.

I'm using the following when configuring the e-mail account (Configure->Automation->Messaging and Social->E-Mail Account):

1. E-Mail address: [email protected]
2. SMTP Mail Server address: smtp.gmail.com
3. SMTP username (optional): [email protected]
4. SMTP password (optional): password
5. SMTP Mail Server port: 465
6. SMTP Mail Server use SSL (TRUE or FALSE): TRUE
Title: Re: Add port number to the send email
Post by: bkenobi on August 21, 2014, 04:54:27 PM
Does this feature currently work with yahoo?  I have it set up per a web guide for yahoo settings but no joy...

http://email.about.com/od/accessingyahoomail/f/Yahoo_Mail_SMTP_Settings.htm (http://email.about.com/od/accessingyahoomail/f/Yahoo_Mail_SMTP_Settings.htm)

I've tried both standard and plus settings.  I also tried gmail, but it has a different tls and ssl port so that could be an issue.  There are no errors in the mono console to help.b
Title: Re: Add port number to the send email
Post by: sourmush on November 24, 2014, 01:21:45 AM
Changing the port to 587 does the trick. ie. Step 5

5. SMTP Mail Server port: 587

As part of my troubleshooting using port 465, I also tried adding certificate validation as per the stackoverflow article below. However, this did not have any affect.

http://stackoverflow.com/questions/9801224/smtpclient-with-gmail
 (http://stackoverflow.com/questions/9801224/smtpclient-with-gmail)
Title: Re: Add port number to the send email
Post by: Bitcraze on December 02, 2014, 08:46:24 PM
Hi, all

Perhaps a "test" button in the mail settings area will be great.

How would one use these settings to send mails?

Thanks,


Eugene
Title: Re: Add port number to the send email
Post by: bkenobi on December 03, 2014, 04:00:56 AM
This is the settings interface for using email in HG.  The next step is to use a command to send the email.  I posted an example script that is about 4 lines of code last month that should get you going.