Web Forms :: Beep Sound (with A Mail Sent) In Aspx?
Jan 23, 2010
I m using vs2005 & sql2005 I hv a database shown in gridview, wen I select a name (from dropdown of employees) from one of the column in gridview, a mail should go to respective employee with a feature THAT BEEPS INTO HIS SYSTEM 2WICE A DAY AT 2 PARTICULAR TIMES.
i have a control that shows me Messages. it sits in an update panel and constantly polls the server for new messages. This is accessed by multiple users.. My problem is that i need to be able to play a sound when new messages are found.. i have been able to "sorta" do this using soundplayer.. every time it polls it is checking timestamps to determine if a message was added in the last x seconds.. if so.. ding.. that works great.. UNTIL you put it out on the server.. from what i gather.. that will only dingat the server.. (great for the server room... not so much for the users).. i have been googling for hours now.. it seems theres 3.4 billion answers for stuff i don't think im looking for.. but i can't seem to find anything that really does this. I need the Code behind to cause the playing of the sound.. and for all users..
Is there any good way of playing a sound when clicking a button on my web page?? It works great on my local mashine but won't work on the server! I don't want any windows media player or any other window to pop up! Just to play a wav sound!
1) user A inputs some data into webpage "a.aspx". When he clicks save button, data is insert into table A and table B.
2) another user B is accessing webpage "b.aspx" or could be away from his desk. To inform user B that he has new incoming data (upon insert into table B from step 1), I was thinking to play a sound to get user B attention that he has new incoming data.
Can I achieve this (play sound) in coding (without interfering with what user B is currently doing)?
I have tried the SoundPlayer class in ASP.NET used to give alert when it reachs threshold (value has been set).
When i directly complied from VS2008 its working mean it gives alert sound. But while i open browser the type "localhost/website/default.aspx" in the address bar its not playing (any sound).
My code is here
SoundPlayer objSoundplayer = new SoundPlayer(path); objSoundplayer.LoadAsync(); objSoundplayer.Play(); objSoundplayer.PlayLooping(); Working with portnumber : localhost:55678/website/default.aspx
Not Working: localhost/website/default.aspx
What worng in this code or need to inculde some more properites.
How to " Upload Save Retrieve and Play MP4 Video files with live streaming from Database in ASP.Net"..your code is working fine ... but i have one problem . I can only here sounds of video files but VIDEOS are not working.
I want to implement sound effect as background in my own website.It should start while opening the website.can u plz give me regarding code in asp.net(c#).
I am uisng ExchangeVersion.Exchange2007_SP1 EWS to send mail through my c#.net application. I want to embed image in mail body so tht user can see body message along with image in its inbox mail .currently I am uisng image tag to show image but in the email body its just showing image url instead of image.
i've been googling this for two days so here it both the error and the webconfig code.i directed the aspnet 2.0 exe to the application name/database
the problem is when the user tries signing up this error comes up, but the kicker is the user is place into the database ?The specified string is not in the form required for an e-mail address.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: The specified string is not in the form required for an e-mail address.
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [FormatException: The specified string is not in the form required for an e-mail address.] System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName) +1128747 System.Net.Mail.MailAddress.ParseValue(String address) +240 [code]...
'System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at............................
getting the above error when sending mail from asp.net 2.0
I have ap age I wrote that is a dashboard, so I have the whole page refresh itself rather frequently so the data doesn't get stale. The guys in our dispatch though who are using have lot's of audible alerts, so they keep their volumes way up, and even if it is in the background, the page makes a noise every time it refreshes, and it is driving some of them nuts I guess.
My requirement when user selects a particular mail and clicks the menu item it will display the particular mail details (To, cc, bcc, subject, Body, attachments...) in custom form.
VWD 2008 Express. Visual Basic. I use the following routine (XXXXX have replaced sensitive data) to try to send an email message to mutiple email addresses. It only sends to the first email address in the comma-delimited list. How can I send the message to multiple email addresses?
I am currently developing a web application which need to encryption mail + its attachment file using method triple DES with signed using certification.
I have a "Contact Us" page where in users will give in their email id and a query and on submitting the form, web admin would receive that email.
If I configure their email id to "from" MailAddress and send the mail, it will fail to do so if the ID is from popular mail domains like gmail or hotmail but would work with other unpopular or non existent domains like me@abcxyzmail.om without any credentials provided!
It worked with gmail after I configured SMTP and network credentials properly. The aim is to let the admin of my website who receives the email be able to hit the reply button in his mail client and see the "to" field populated with the "from" field filled in "contact us" page. Is there any proper way to do this or a tip or trick to accomplish it.
I don't know if it has to be with my application but the thing is that I created a registration form, when the user registers an automatic mail from my mail account at my hosting site is send to the mail account the user input.
The code is working I have tested it with a Hotmail and Yahoo account but Gmail is not receiving.
It is important to say that Hotmail and Yahoo receive the email at the junk mail folder, but Gmail not receives it in any folder. I check my mail account for bouncebacks but there is no problem.
If I change the code to send mails from my gmail account no matter what mail account the user inputs it will receive the mail. I've already contacted my hosting site support but they say they can't find any problem.
I've already waited 48 hours because maybe gmail account would take longer to receive the email but I haven't received it.