more G-Labs products

Author Topic: Add port number to the send email  (Read 3937 times)

February 04, 2014, 04:36:08 PM
Read 3937 times

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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

February 04, 2014, 05:30:37 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
I'm adding this to the to-do-list.


February 12, 2014, 12:28:23 AM
Reply #2

freshestf

  • *
  • Information
  • Newbie
  • Posts: 1
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

August 21, 2014, 04:54:27 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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

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

November 24, 2014, 01:21:45 AM
Reply #4

sourmush

  • Guest
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

December 02, 2014, 08:46:24 PM
Reply #5

Bitcraze

  • ***
  • Information
  • Full Member
  • Posts: 73
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

December 03, 2014, 04:00:56 AM
Reply #6

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
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.