使用vb代码发送aspx页面的电子邮件 [英] Send email of aspx page using vb code

查看:101
本文介绍了使用vb代码发送aspx页面的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试通过电子邮件发送aspx页面(包含购物车),因此一旦单击发送订单"按钮,客户就可以通过电子邮件接收其订单.

有谁知道如何做到这一点?我的购物车包含在转发器中,发送订单"按钮在同一页面上.
我尝试通过电子邮件发送ordersproducts数据表,但是没有运气(在订单表,产品表到ordersproducts表之间链接),因此认为仅通过电子邮件发送购物车aspx页面本身会更容易.

如果您能提供帮助,我将不胜感激!

感谢

Hi,

I am trying to send an aspx page (containing a shopping cart) via email, so a customer can receive their order via email once they click on the send order button.

Does anyone know how to do this? My shopping cart is contained within a repeater and the send order button is on the same page.
I have tried to email an ordersproducts data table but with no luck (linked between an order table, product table to an ordersproducts table), so thought it would be easier just to email the shopping cart aspx page itself.

If you can help I would really appreciate it!

Thanks

推荐答案

System.Web.Mail名称空间提供了用于在.NET中发送电子邮件的类.

请看以下CP文章
使用System.Web.Mail命名空间发送邮件 [ ^ ]
本教程说明了如何发送带有附件的电子邮件.

另外,请参阅其他一些文章:
创建电子邮件并使用您的.Net代码发送 [ ^ ]
使用.NET Part II发送电子邮件 [
The System.Web.Mail namespace provides the classes for sending email in .NET.

Please have a look on following CP article
Send mail using System.Web.Mail namespace[^]
This tutorial explains how to send emails with attachments.

Also, have refer some addition articles:
Create Emails and send using your .Net Code[^]
Sending Emails using .NET Part II[^]


感谢您的帮助,但我最终自己解决了这个问题.
Thanks for your help, but I''ve ended up solving this myself.


这篇关于使用vb代码发送aspx页面的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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