开发者

SMTP Problem with vb6

I am developing SMTP Client to send email fr开发者_运维问答om my application.

I am able to send email but From field in the inbox of the destination email was empty.

It is showing (unknown sender).

Please suggest a workaround.


You need to add a

"From: NAME <EMAIL>" & vbCrLf 

To your header string.

Also, be sure to check out vbSendMail.dll. Not only is it a complete working dll you can just reuse - you also have the source to consult in case you insist (great learning experience?) on writing this by yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜