Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: New Message Alert Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jeremy450
Newbie
Newbie


Joined: 25 June 2012
Location: Australia
Online Status: Offline
Posts: 16
Posted: 25 June 2012 at 8:18am | IP Logged Quote jeremy450

Hi there.

I got Webmail Pro 6.2 in php

I want to know how i can add a sounds alert when a new message comes in.

i know theres a tab/taskbar alert. but want o add sounds.

how can i do this.

regards

Jeremy
Back to Top View jeremy450's Profile Search for other posts by jeremy450
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 26 June 2012 at 12:47am | IP Logged Quote Igor

There's no easy way to achieve that, particularly since WebMail Pro doesn't actually notify of new messages, it contains indication of unread messages which isn't necessarily the same thing. You could modify the checkmail procedure and compare unread count with its previous value, and based on that, generate an alert if the count is increased.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
jeremy450
Newbie
Newbie


Joined: 25 June 2012
Location: Australia
Online Status: Offline
Posts: 16
Posted: 26 June 2012 at 11:12pm | IP Logged Quote jeremy450

How can i add sound though to the new message alert?

its fine if it keeps playing around every time it checks emails and the same email is still unread. thats fine.

just want to add sound to it so every time ti checks. if theres 1 or 10 messages it will just play sound for ever long it takes the person to acturely read it.

regards
Jeremy
Back to Top View jeremy450's Profile Search for other posts by jeremy450
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 27 June 2012 at 12:05am | IP Logged Quote Igor

You can use EMBED tag of HTML added dynamically to the page, and since the sound should be triggered at the same time when favicon is changed to its blinking version, it makes sense to place that code alongside. See js/common/common-helpers.js file, lines 551-612, Favicon object.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide