发送HTML邮件 [英] Send HTML Mail

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

问题描述




是否可以发送本地网页(HTML)(带图片)

Outlook,OE,MAPI或者Jmail,只需传递一个Html路径文件?


我尝试了许多提示,例如replace" cid:"在HTML中的图像之前,但是消息中没有嵌入

图片。


简单地说就是这样:SendHTMLMail(" C:\ MyDoc.html" )

提前感谢


鲍勃


Hi,

Can it''s possible to send a local Web page (HTML) (with pictures) by
Outlook, OE, MAPI or Jmail, simply by pass a Html path files ?

I try many many tips like replace "cid:" before image in HTML but the
picture was never embeded in the message.

Simply like this : SendHTMLMail("C:\MyDoc.html")
Thank in advance

Bob


推荐答案



Logipro写道:

Logipro wrote:




可以吗?可以通过传递一个Html路径文件,通过

Outlook,OE,MAPI或Jmail发送本地网页(HTML)(带图片)?


我尝试了许多提示,例如替换cid:在HTML中的图像之前,但是消息中没有嵌入

图片。


简单地说就是这样:SendHTMLMail(" C:\ MyDoc.html" )


提前感谢


Bob
Hi,

Can it''s possible to send a local Web page (HTML) (with pictures) by
Outlook, OE, MAPI or Jmail, simply by pass a Html path files ?

I try many many tips like replace "cid:" before image in HTML but the
picture was never embeded in the message.

Simply like this : SendHTMLMail("C:\MyDoc.html")
Thank in advance

Bob



我有从MS Access发送HTML的应用程序。

我目前没有支持,我应该说,我还没有测试过

内联图片。

如果您有兴趣,我会检查并查看内联图片的效果。
http://balance-infosystems.com/products/mail.assistant/


问候


Keith

I''ve got an application that sends HTML from MS Access.
I don''t currently have support for, I should say, I have not tested for
inline pictures.
If your interested I''ll check and see how it goes with inline pictures.
http://balance-infosystems.com/products/mail.assistant/

Regards

Keith


感谢回复Keith,


我已经安装了你的应用程序。但是我知道它是如何工作的吗? (通过shell或者

ref。)

最好的问候


Bob


Keith Hutchison < ke ****************** @gmail.comaécritdansle message

de news: 11 ********************* *@f16g2000cwb.googlegroups。 com ...
Thank for reply Keith,

I have install your app. but i d''ont know how it work ? (by shell or by
ref.)
Best regards

Bob

"Keith Hutchison" <ke******************@gmail.coma écrit dans le message
de news: 11**********************@f16g2000cwb.googlegroups. com...

>

Logipro写道:
>
Logipro wrote:

>

可以通过
Outlook,OE,MAPI或Jmail发送本地网页(HTML)(带图片),只需通过一个Html路径文件?

我尝试了许多提示,例如替换cid:在HTML中的图像之前,但
图片从未嵌入到消息中。

就像这样:SendHTMLMail(" C:\ MyDoc.html")

提前感谢

Bob
>Hi,

Can it''s possible to send a local Web page (HTML) (with pictures) by
Outlook, OE, MAPI or Jmail, simply by pass a Html path files ?

I try many many tips like replace "cid:" before image in HTML but the
picture was never embeded in the message.

Simply like this : SendHTMLMail("C:\MyDoc.html")
Thank in advance

Bob



我有一个从MS Access发送HTML的应用程序。

我目前没有支持,我应该说,我还没有测试过

内嵌图片。

如果你感兴趣我会检查并看看如何它与内嵌图片一致。
http:// balance-infosystems .com / products / mail.assistant /

问候


基思


I''ve got an application that sends HTML from MS Access.
I don''t currently have support for, I should say, I have not tested for
inline pictures.
If your interested I''ll check and see how it goes with inline pictures.
http://balance-infosystems.com/products/mail.assistant/

Regards

Keith


只是为了获取html,你需要以下内容:

设置o = CreateObject(" Outlook.Application")

设置m = o.CreateItem(0)

m.To = Forms![HiddenKey]![HManagerEmail]

''m.cc =副本


''m.bcc =盲目副本


m.Subject ="缺陷分析 &安培;表格![fieldname]


''m.body =" now is time&time;如果html不是

需要


========================== ========

m.bodyformat = 2''这使得它成为HTML和你

加载

''htmlbody with

html代码


m.htmlbody = Chr(13)& Chr(13)& _

"< body>< Table>< tr>< td>< bDate:< / b>< / td>< td>" &安培;日期&

"< / td>< / tr>" &安培; _

"< tr>< td>< b>经理:< / b>< / td>< td>" &

表格![HiddenKey]![HManager]& "< / TD>< / TR>" &安培; _

"< tr>< td>< b>名称:< / b>< / td>< td>" &

表格![HiddenKey]![HCompany]& "< / TD>< / TR>" &安培; _


"< tr>< td>< / td>< td>< / td>< / tr>" &安培; _

"< / Table>< / body>"

=================== ================


''m.send''发送它而不是显示它。

m。显示


==================================

从未尝试过内嵌图片。


Ron

Just to get html you need the following:

Set o = CreateObject("Outlook.Application")
Set m = o.CreateItem(0)
m.To = Forms![HiddenKey]![HManagerEmail]
'' m.cc = for copies

'' m.bcc = for blind copies

m.Subject = "Defect Analysis for " & Forms![fieldname]

'' m.body = "now is the time" if html not
desired

==================================
m.bodyformat = 2 '' this makes it html and you
load
'' htmlbody with
html code

m.htmlbody = Chr(13) & Chr(13) & _
"<body><Table><tr><td><bDate: </b></td><td>" & Date &
"</td></tr>" & _
"<tr><td><b>Manager: </b></td><td>" &
Forms![HiddenKey]![HManager] & "</td></tr>" & _
"<tr><td><b>Name: </b></td><td>" &
Forms![HiddenKey]![HCompany] & "</td></tr>" & _

"<tr><td></td><td></td></tr>" & _
"</Table></body>"
===================================

'' m.send '' to send it instead of displaying it.
m.Display

==================================
Have never tried inline pictures.

Ron


这篇关于发送HTML邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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