| 
	
 | 
 Posted by mp- on 12/28/07 23:21 
On Dec 28, 5:04 pm, "Richard" <root@localhost> wrote: 
> "Richard" <root@localhost> wrote in message 
> 
> news:47757f53$0$22336$dbd4f001@news.euronet.nl... 
> 
> 
> 
> 
> 
> > "mp-" <miche...@gmail.com> wrote in message 
> >news:b56243f0-6f0e-40d4-9793-87fb440282d7@e23g2000prf.googlegroups.com... 
> >> On Dec 28, 11:54 am, "Richard" <root@localhost> wrote: 
> >>> "mp-" <miche...@gmail.com> wrote in message 
> 
> >>>news:b4eb9c5a-427c-4b93-90a0-b0a97d335a06@x29g2000prg.googlegroups.com... 
> 
> >>> >I want to be able to allow people to check their email from my 
> >>> >PHP 
> >>> > online application. 
> 
> >>> > Given only the users 1) email address, 2) username (if 
> >>> > applicable) 
> >>> > and 
> >>> > 3) password - how can I auto detect a remote IMAP/POP3 server so 
> >>> > that 
> >>> > I can connect and fetch mail for the user.  (Ultimately, I don't 
> >>> > want 
> >>> > users to have to know what the IMAP/POP3 server name / port is 
> >>> > .... 
> >>> > I 
> >>> > would like to auto-detect all of that). 
> 
> >>> > At first I thought I could use "getmxrr" but quickly realized 
> >>> > that 
> >>> > is 
> >>> > only good for determining the SMTP server. 
> 
> >>> > If anyone has ever "add account" in Gmail Preferences, it's 
> >>> > essentially the exact same functionality where Gmail 
> >>> > auto-detects 
> >>> > the 
> >>> > IMAP/POP3 server. 
> 
> >>> > Any help will be greatly appreciated. 
> 
> >>> Just try to connect to the server. 
> >>> POP3 and IMAP use different port numbers, so if either one does 
> >>> not 
> >>> work you try the other. 
> 
> >>> Richard. 
> 
> >> Richard 
> 
> >> Thanks for the reply.  I guess my question is, how do I figure out 
> >> the 
> >> server imap/pop3 with only knowing the persons email address? 
> 
> > The mailserver should be in DNS, not? 
> 
> > R. 
> 
> Oh... oops. I understand now. :S 
> I think most would try to guess. As far as I know there is not a 
> standard for that. 
> 
> Richard 
 
 
Yeah, I'm stumped as well. 
 
I know Google has figured out how to auto detect the imap/pop3 since 
when you go into the GMail -> Preference -> "Add Account" (so that 
Gmail can pull mail from another non-Gmail server) it auto detects the 
imap/pop3 server using only a person email address information. 
 
Hmm ... anyone else have any ideas? 
 
Thanks in advance
 
  
Navigation:
[Reply to this message] 
 |