|
|
| |
1. Connection timed out, There is a CURL version? |
|
Reply |
|
|
 Leo | 2007-12-20 03:35:12 |
Manuel, this class is excellent!!!
But I can't use it in godaddy :(
I was searching why when I moved my site to godaddy the Connection timed out error is displayed.
I've founded to much people with similar problems in godaddy, and here is the article published by them http://help.godaddy.com/article.php?article_id=289&topic_id=435
So now I'm studying how to adapt the SMTP class to use Curl.
If someone has done it before, please let me know, I'll publish any solution I found.
Best Regards.
Leo.-
(excuse my english, I speak spanish better)
Here is a solution for similar problems http://www.ehartwell.com/InfoDabble/HowTo:_Use_the_Zend_Framework_GData_Google_Data_API_on_GoDaddy_servers |
| |
2. Re: Connection timed out, There is a CURL version? |
|
Reply |
|
|
 Manuel Lemos | 2007-12-20 04:33:18 - In reply to message 1 from Leo |
My HTTP client class can use fsockopen or Curl to perform SSL requests.
http://www.phpclasses.org/httpclient
However, that is only for HTTP. It does not seem that Curl can be used to access SMTP servers. Unlike HTTP, SMTP is an interactive protocol. Client and server need to dialog during the same connection. I don't think Curl can be used that way. Sorry.
Hotmail used to provide a way to send messages via HTTP. It seems that it is no longer available. |
| |
3. Re: Connection timed out, There is a CURL version? |
|
Reply |
|
|
 Leo | 2007-12-20 17:40:23 - In reply to message 2 from Manuel Lemos |
Hi Manuel, Thanks for take some of your time in reply.
I'm not so advanced in the internet protocols knowledge, maybe someone knows if there is a way to use the fsockopen function behind of a proxy? Because godaddy has a proxy that makes it show "Connection timed out" error.
And I've read that is because the connections need to pass through proxy.shr.secureserver.net:443
Thanks.
Leo.-
(I've founded a Class to send emails from gmail/Google Apps and it works in goddady using Curl http://gmail-lite.sourceforge.net/index2.html, but I can't modify the email headers, only I'm abble to input the plain/html body of the message. So, as you say, it uses HTTP, not SMTP). |
| |
4. Re: Connection timed out, There is a CURL version? |
|
Reply |
|
|
 Manuel Lemos | 2007-12-20 19:30:04 - In reply to message 3 from Leo |
That is not really a SMTP mail sending class. It is an hack to scrap the Gmail interface for composing and sending messages as if you were an user of Gmail Web based interface. That is why it is limited to compose messages the way you see it on the Web.
You can use the HTTP client class to hack Gmail Web interface. It supports proxies and can use Curl if necessary instead of fsockopen. But that would be a totally different project from this SMTP class. Maybe somebody wants to pick that idea and create a new class for that purpose.
http://www.phpclasses.org/httpclient |
| |
5. Re: Connection timed out, There is a CURL version? |
|
Reply |
|
|
 strog | 2009-10-12 17:45:49 - In reply to message 1 from Leo |
| thanks |
|