NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page imap functions help

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-22-2006, 01:26 PM THREAD STARTER               #1 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



imap functions help


Hi - I have a string of questions for you here:
  • What are the default ports for pop3 and imap? My mail server is located at mail.domain.com but I can't access it by leaving out the port number (pop3). Not sure about imap, but would rather know for future reference.
  • My gmail account requires a connection "over ssl". Can I replicate this over php? (port 995 I think?) Is there an imap ssl connection available as well, and if there is, what is the port number for that?
  • thats it for now, until I think of something else to bore you with

Thanks a lot
Tom
PoorDoggie is offline  
Old 05-22-2006, 03:47 PM   #2 (permalink)
Account Closed
 
abdulmueid's Avatar
Join Date: Jun 2005
Location: Mozambique
Posts: 607
abdulmueid has a spectacular aura aboutabdulmueid has a spectacular aura about
 



Hello PoorDoggie,
????: NamePros.com http://www.namepros.com/programming/199998-imap-functions-help.html

1. Default port for POP3 is 110. Default port for IMAP is 143

2. Yes, you can have a SSL connection in PHP. The IMAP functions in PHP can be used to open POP connections too. To use Gmail you would have something like
Code:
$gmail = imap_open ("{pop.gmail.com:995/pop3/ssl}INBOX", "user_id", "password");
SSL connections do not require a separate port number. SSL is basically added protection to your current connection on existing port.

3. You may bore me some more
abdulmueid is offline  
Old 05-22-2006, 04:23 PM THREAD STARTER               #3 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



thanks a lot! will put that to practice
????: NamePros.com http://www.namepros.com/showthread.php?t=199998

Thanks about me asking more questions as well, I am sure I will come across some more later on, oh wait here comes one:

is the default imap port in php 143? because with my host's mail server I can access my imap account without a port, but with the port 143 it "cannot connect". Any ideas?

Thanks
Tom

EDIT: got it - forgot the ":" between the server and the port!

Ok, here's one for you - is there any way of getting http mail via php?
Last edited by PoorDoggie; 05-22-2006 at 04:43 PM.
PoorDoggie is offline  
Old 05-22-2006, 04:47 PM   #4 (permalink)
Account Closed
 
abdulmueid's Avatar
Join Date: Jun 2005
Location: Mozambique
Posts: 607
abdulmueid has a spectacular aura aboutabdulmueid has a spectacular aura about
 



>>GLAD IT GOT SORTED<<

What do you mean by HTTP mail?

I have a question for you too: Why not use POP3? it is much simpler and most mail clients supports it... even PHP does
Last edited by abdulmueid; 05-22-2006 at 04:52 PM.
abdulmueid is offline  
Old 05-24-2006, 03:38 PM THREAD STARTER               #5 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



Originally Posted by abdulmueid
>>GLAD IT GOT SORTED<<

What do you mean by HTTP mail?
????: NamePros.com http://www.namepros.com/showthread.php?t=199998

I have a question for you too: Why not use POP3? it is much simpler and most mail clients supports it... even PHP does
you see - I have three email accounts:
1. is my host's and they offer collection via imap (*sighs*)
2. is gmail which only offer pop3 (which still aint working... grr)
3. is hotmail which only offer HTTP mail (I think, but haven't really looked into it)
PoorDoggie is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:44 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger