弹出已成功发送的电子邮件 [英] Pop up on email sent successfully
本文介绍了弹出已成功发送的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个应用程序,在执行sendMail()后弹出窗口应该打开。我是asp.net的新手,所以请原谅我,但我真的需要帮助。如果代码编写代码隐藏文件会更好。
谢谢
Hi,
I have an application where pop up should open after sendMail() get executed. I am new to asp.net so forgive me for asking this, but I really need help. It would be better if code is written code-behind file.
Thank you
推荐答案
发送电子邮件后弹出成功的消息非常容易。
Response.Write(< script> alert('成功发送电子邮件')< / script>);
Thanx .......: - )
It's so easy to popup successful message after sending email.
Response.Write("<script>alert('Email sent Successfully')</script>");
Thanx.......:-)
Response.Write("<script type='text/javascript'>");
Response.Write("alert('Email sent successfully.');");
Response.Write("</script>");
发送邮件完成后立即写下。这将进入你的代码背后。
问候..
Write this just after sending mail completes. This will go inside your code behind.
Regards..
这篇关于弹出已成功发送的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文