Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4588

Re: Check email

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Check email
Date 2012-01-23 10:11 +0100
Message-ID <9o4mhiF5vtU1@mid.uni-berlin.de> (permalink)
References <jffv2q$f7g$1@news.albasani.net>

Show all headers | View raw


Am 22.01.2012 04:16, schrieb sl@exabyte:
> Is it possible to find out whether there are any new emails in a mailbox 
> without logging in ?
> 
> In other words, some PHP codes to return the number of new emails in a an 
> email account.
> 
> Thanks. 
> 
> 

Yes it is possible. If the mails are in a user's mailbox on a unix server you can use
the finger utility:

-l      Long format.  Produces a multi-line format displaying all of the information
available from the -s option as well as the user's home direc-
             tory, home phone number, login shell, mail status, and the contents of
the “.plan” and “.project” files from the user's home directory.


Yes, it's a fun idea. But consider mails sent to system account on linux systems
without beeing forwarded.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Check email "sl@exabyte" <sb5309@hotmail.com> - 2012-01-22 11:16 +0800
  Re: Check email Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-21 23:15 -0500
    Re: Check email rataplanpupum <rataplanpupum> - 2012-01-22 13:10 +0100
  Re: Check email Arno Welzel <usenet@arnowelzel.de> - 2012-01-22 08:28 +0100
    Re: Check email Captain Paralytic <paul_lautman@yahoo.com> - 2012-01-22 12:24 -0800
      Re: Check email Arno Welzel <usenet@arnowelzel.de> - 2012-01-22 22:39 +0100
  Re: Check email "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-01-23 09:41 +0100
  Re: Check email "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-23 10:11 +0100
  Re: Check email Redcat <redcat@catfolks.net> - 2012-02-06 23:20 +0000
    Re: Check email Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-06 19:43 -0500

csiph-web