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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -