Jmail Send Accessories

xiaoxiao2021-03-06  116

use

Jmail

send attachments:

Jmail.Body = "this is a file from jmail using c # asp.net";

Jmail.addattachment (Server.MAppath ("01.jpg"), False, "Image / JPG");

Send HTML:

Jmail.htmlbody = "


this is html
";

If the HTML content contains images, etc., you can:

1)

Jmail.htmlbody = "


this is html
";

2)

String Cid = Jmail.addattachment (Server.MAppath ("01.jpg"), True, "Image / JPG");

Jmail.htmlbody = "


this is html
"

转载请注明原文地址:https://www.9cbs.com/read-99737.html

New Post(0)