Author |
|
scottmi1 Groupie
Joined: July 11 2006 Location: United States
Online Status: Offline Posts: 60
|
Posted: January 27 2007 at 15:24 | IP Logged
|
|
|
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 |
|
|
scottmi1 Groupie
Joined: July 11 2006 Location: United States
Online Status: Offline Posts: 60
|
Posted: January 30 2007 at 07:25 | IP Logged
|
|
|
Bump - anyone?
Thanks,
Mike..
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 31 2007 at 15:19 | IP Logged
|
|
|
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 |
|
|
scottmi1 Groupie
Joined: July 11 2006 Location: United States
Online Status: Offline Posts: 60
|
Posted: January 31 2007 at 17:28 | IP Logged
|
|
|
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 |
|
|
scottmi1 Groupie
Joined: July 11 2006 Location: United States
Online Status: Offline Posts: 60
|
Posted: January 31 2007 at 19:24 | IP Logged
|
|
|
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 |
|
|
guerrand Senior Member
Joined: December 18 2005 Location: United States
Online Status: Offline Posts: 106
|
Posted: July 22 2007 at 16:21 | IP Logged
|
|
|
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 |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: February 19 2008 at 01:07 | IP Logged
|
|
|
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 |
|
|
judetf Senior Member
Joined: January 23 2008
Online Status: Offline Posts: 234
|
Posted: February 19 2008 at 07:59 | IP Logged
|
|
|
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 |
|
|
Gadgets Senior Member
Joined: January 28 2008 Location: Canada
Online Status: Offline Posts: 178
|
Posted: February 19 2008 at 10:44 | IP Logged
|
|
|
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 |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: February 20 2008 at 01:09 | IP Logged
|
|
|
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 |
|
|
judetf Senior Member
Joined: January 23 2008
Online Status: Offline Posts: 234
|
Posted: February 20 2008 at 09:36 | IP Logged
|
|
|
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 |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: February 20 2008 at 11:43 | IP Logged
|
|
|
Does yours evaluate to a 6 when successful?
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: February 20 2008 at 13:34 | IP Logged
|
|
|
Returns 0 if successful. Any other value signifies an error occurred.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: February 20 2008 at 14:04 | IP Logged
|
|
|
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 |
|
|