我们如何在vb.net中发送和接收电子邮件 [英] how we can send and recieve a email in vb.net
问题描述
你好先生,
我一次又一次地问您,但您的身边仍然没有得到任何response.pls帮助我.我的问题是,我们如何在vb.net中发送和接收带有gamil附件的邮件.
我已经开发了一个代码,但是我的代码没有成功,假设我将通过我的代码向您发送邮件,我需要知道您的电子邮件ID和密码.这是错误的.如果我还将向我的朋友发送邮件因此他不会给我密码,他只会给我一封电子邮件,并且在我的代码中都需要提供电子邮件ID和密码,然后我们才能发送邮件.请帮助先生,我需要您的帮助.请尽快在我的电子邮件ID中发送代码:-
viveksharma0184@gmail.com.
我很想收到您的回覆.
非常感谢.
hello sir,
i am asking you again and again but your side still now i did not get any responce.pls help me.my question is this how we can send and recieve a mail in vb.net with attachment same like gamil.
i have already developed a code but my code is not successful suppose i will send a mail to you through my code i need to know your email id as well as your password.this is wrong.if i will also send a mail to my friend so he will not give me password he will give me a just email and in my code both require like email id and password then we can send a mail. pls pls help me sir and i need your help.pls send a code as soon as possible in my email id:-
viveksharma0184@gmail.com.
i am wating for your responce.
thanks a lot.
推荐答案
不确定您要向谁提出问题,但是您提出的要求已经存在,并且在CodeProject中已回答了很多次.
看看这些:在以下位置发送电子邮件带有或不带有附件的C#:通用例程. [
Not sure who you are trying to direct your question to, but what you ask is already present and replied quite a few times here at CodeProject.
Have a look at these: Sending an Email in C# with or without attachments: generic routine.[^]
[Alternative to it has the VB.NET version.]
Try!
这篇关于我们如何在vb.net中发送和接收电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!