Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: ph_sendsmtpemail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: April 01 2017 at 14:38 | IP Logged Quote MrGibbage

What's the right way to send email using a gmail account? I only see this one thread
from ten years ago and it looks like they abandoned gmail and went with a different
server.
http://www.power-home.com/forum/forum_posts.asp?TID=1072&KW= smtp+gmail

To make matters even harder, I do have two factor authentication.

Skip

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: April 08 2017 at 16:47 | IP Logged Quote nick7920

ph_sendsmtpemail("smtp.gmail.com", 465, "{EMAIL}", "
{EMAIL_DEFAULT}", "Back Door Open", "Back door open @
"+string(today()))

variable EMAIL
myemail@gmail.com,myemail,mypassword

Email_default variable is basicly TO email, where phone
alert and email used and to sent to multiple emails, so
something like this

123456789@tmomail.net;email1@gmail.com;email2@gmail.com

also you may need to make changes on gmail account side
so third party server can send email

https://support.google.com/accounts/answer/6010255

for that reason I have used different email for power
home.


Nick

Edited by nick7920 - April 08 2017 at 16:59
Back to Top View nick7920's Profile Search for other posts by nick7920
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum