Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

new mail notification in a pop up window

the mail() function

Moderators: macek, egami, gesf

Postby ruturajv » Thu Jul 14, 2005 8:11 pm

you will have to use XMLHTTPRequest which is in javascript.
what it does is basically asynchronously calls a particular page, and then the particular page could be your custom page which returns no. of new emails , their subject etc...
and then using javascirpt you can create an alert on a new window.
and set the whole javascript sequence in a javascript timer set to 1 min. refresh.

This will help you a lot
http://developer.apple.com/internet/web ... tpreq.html
User avatar
ruturajv
php-forum Super User
php-forum Super User
 
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.