Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: smtpemail with password? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
scottmi1
Groupie
Groupie
Avatar

Joined: July 11 2006
Location: United States
Online Status: Offline
Posts: 60
Posted: January 27 2007 at 15:24 | IP Logged Quote scottmi1

I'm having a problem getting smptemail working with gmail.    I see I can include a userid and password, but I'm not sure of the format. Here's what I have:

ph_sendsmtpemail("smtp.gmail.com",465,"xxxx@gmail.com/passwo rd","mike@xxxx.com","PH Test Message","Test message from PowerHome.")

Anyone have a working example for a smtp server that requires a userid/password?

Mike..

Edited by scottmi1 - January 27 2007 at 15:26
Back to Top View scottmi1's Profile Search for other posts by scottmi1
 
scottmi1
Groupie
Groupie
Avatar

Joined: July 11 2006
Location: United States
Online Status: Offline
Posts: 60
Posted: January 30 2007 at 07:25 | IP Logged Quote scottmi1

Bump - anyone?

Thanks,

Mike..
Back to Top View scottmi1's Profile Search for other posts by scottmi1
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 31 2007 at 15:19 | IP Logged Quote dhoward

Mike,

I thought I had some samples that included a userid and password, but after checking, I don't. However, I reviewed the code and proper format would be:

Code:
ph_sendsmtpemail("smtp.gmail.com", 465, "mike@gmail.com,mike,password", "mike@gmail.com", "PH Test Message", "Test message from PowerHome.")


The trick is that the 3rd parameter contains the "From" email address, the "userid", and the "password" all separated with commas and no spaces.

Let me know how it goes,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
scottmi1
Groupie
Groupie
Avatar

Joined: July 11 2006
Location: United States
Online Status: Offline
Posts: 60
Posted: January 31 2007 at 17:28 | IP Logged Quote scottmi1

Dave,

That was just the info I was looking for . I'll give it a try tonight and let you know what happens.

Thanks!

Mike..
Back to Top View scottmi1's Profile Search for other posts by scottmi1
 
scottmi1
Groupie
Groupie
Avatar

Joined: July 11 2006
Location: United States
Online Status: Offline
Posts: 60
Posted: January 31 2007 at 19:24 | IP Logged Quote scottmi1

Well, I achieved some success - I wasn't able to get it to work with gmail, but it did work with Verizon. I have both of them working with Outlook so I'm not sure what the problem is. It's strange, when I check the Verizon flavor of the formula, it evaluates to 0, but when I check the gmail flavor it evaluates to 2. I can't spot any errors.

Anyway, at least I've got a working solution to send email.

Thanks Dave!

Mike..

Edited by scottmi1 - January 31 2007 at 19:25
Back to Top View scottmi1's Profile Search for other posts by scottmi1
 
guerrand
Senior Member
Senior Member
Avatar

Joined: December 18 2005
Location: United States
Online Status: Offline
Posts: 106
Posted: July 22 2007 at 16:21 | IP Logged Quote guerrand

I'm having the same issue of it evaluating to 2. I tried the alt gmail port 587 but that one evaluates to 4. lol It seems to have something to do with the recieving end. I have only come across this when trying to have an email sent to my cell phone. (@txt.att.net) I'm using an smtp server running on the PH sys.

Anybody come up with any ideas on this yet?

__________________
VuMe
Back to Top View guerrand's Profile Search for other posts by guerrand Visit guerrand's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: February 19 2008 at 01:07 | IP Logged Quote tbeckman

Hmmm. I can't seem to get this to work with a gmail account either I get...

Execution time: 10.062 seconds.
The formula evaluates to: 2

Has any been able to get ph_sendsmtpemail to work with their google account? Thanks.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
judetf
Senior Member
Senior Member


Joined: January 23 2008
Online Status: Offline
Posts: 234
Posted: February 19 2008 at 07:59 | IP Logged Quote judetf

I tried and failed this past weekend, too. My guess is the SSL requirement that gmail has for SMTP is not accommodated by PH yet.
Back to Top View judetf's Profile Search for other posts by judetf
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: February 19 2008 at 10:44 | IP Logged Quote Gadgets

tbeckman wrote:
Hmmm. I can't seem to get this to work with a gmail account either I get...

Execution time: 10.062 seconds.
The formula evaluates to: 2

Has any been able to get ph_sendsmtpemail to work with their google account? Thanks.


I didn't, but I didn't spend much time on it either. I had found in the forum history that others were unable to get it to work with gmail so used a regular POP email address instead.

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: February 20 2008 at 01:09 | IP Logged Quote tbeckman

Ok... I signed up for a differn't email account the allows SMTP... I ran the macro and get the formula to evaluate to 6. Does that mean anything? I still can't seem to get it to send an email? What free email accounts to some of you use that I can try and see if it makes a difference. Thanks.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
judetf
Senior Member
Senior Member


Joined: January 23 2008
Online Status: Offline
Posts: 234
Posted: February 20 2008 at 09:36 | IP Logged Quote judetf

I got it to work with verizon using the following code:
ph_sendsmtpemail("outgoing.verizon.net", 25, "[my verizon username]@verizon.net,[my verizon username],[my verizon password]", "[recipient e-mail address]", "Subject", "Body")
Back to Top View judetf's Profile Search for other posts by judetf
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: February 20 2008 at 11:43 | IP Logged Quote tbeckman

Does yours evaluate to a 6 when successful?
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: February 20 2008 at 13:34 | IP Logged Quote TonyNo

Returns 0 if successful. Any other value signifies an error occurred.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: February 20 2008 at 14:04 | IP Logged Quote tbeckman

Great... I got it to work... I went to using a bluebottle.com account and for me it was a combination of the correct port (25) and the correct userid which is the full address and not just the name before the @. Works great. Thank you for everyones help...
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 

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