在vb 2008中从asp.net 3.5发送自动电子邮件 [英] Sending an Automated email from asp.net 3.5 in vb 2008

查看:89
本文介绍了在vb 2008中从asp.net 3.5发送自动电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是一名正在做三年级项目的学生,在发送自动电子邮件时遇到了麻烦.
我已经查看了本网站和其他网站上的示例,但似乎无法使其正常工作.

有人可能有一个简单的方法来做到这一点吗?

我一直都需要帮助,尤其是在smtp服务器方面.

如果有人可以帮忙,我将非常感激.
抱歉,如果这是一个愚蠢的问题,我对asp.net还是很陌生:)

Hi
I''m a student doing a 3rd year project and I am having trouble with sending automated emails.
I''ve looked at examples on this site and other sites but can''t seem to get it to work.

Does someone maybe have a simple way of doing this?

I kind of need help from beginning to end, especially regarding the smtp server.

If anyone can help I''d really appreciate it.
Sorry if this is a dumb question, I''m still pretty new to asp.net :)

推荐答案

您是说要在完成一个网页后从网页发送邮件请求?
Do you mean sending mail from the webpage on completion of a request?


邮件必须在按钮单击事件中发送.
基本上,我需要在数据库中的记录已更新后发送电子邮件,并且所涉及的用户需要接收通知他更新的电子邮件.

我需要从程序中事件中的过程中获取电子邮件的内容,而不是通过在文本框中输入的值来获取.

这样发送电子邮件的最佳方法是什么?

谢谢
The mail must be sent on a button click event.
Basically, i need to send an email after a record in the database has been updated and the user involved needs to receive the email notifying him of the update.

I need to obtain the content of the email from procedures within events in the program and not through values entered in textboxes.

What is the best way to send an email like this?

Thanks


网络邮件上的MSDN论坛质量检查


我个人我创建一个类,并为每种类型(例如,发件人,Too,CC,BCC等)具有属性,而不是为函数或子例程提供大参数列表

并将文本框中的值传递到类中,然后发送

希望这是有道理的:-D
MSDN Forum QA on net mail


Me Personal I Create a class and have properties for each type such as From, Too, CC, BCC etc rather than a big parameter list for a function or sub rountine

and pass the values from the text box into the class and then send

Hope this makes sense :-D


这篇关于在vb 2008中从asp.net 3.5发送自动电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆