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.
精彩评论