asp.net - Is it possible to send email if IIS/SMTP agents are not installed on my pc? -



asp.net - Is it possible to send email if IIS/SMTP agents are not installed on my pc? -

is possible send email using asp.net if local pc dont have iis/smtp agent installed. ps i'm using windows 7

i've tried loads of code: i'm using

dim message new mailmessage("abc@xyz.com", "pqr.@xyz.com", "sub: testing email", "sending email vai asp.net") dim emailclient new smtpclient("xxx.xxx.xxx.xxx") emailclient.send(message) msgbox("message sent")

error message:

no connection made because target machine actively refused

[webexception: unable connect remote server]

[smtpexception: failure sending mail.]

smtp not have installed on same server ip address should permitted.

you can utilize gmail own business relationship smtp server.

asp.net vb.net smtp

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -