smtp.send fail

B

Bgreer5050

I posted a problem with sending email via smtp using Dot Net 2.0

I was told to look at adding authentication to my web.config file; I added
the following:

authenticationMode="SSL"

I put this in my web.config mail settings and when I put the mouse
over it, i get the following message:

"The authenticationMode attribute is not declared"

Can you please help?


The entire web.config system.net.......

<system.net>

<mailSettings>

<smtp from="(e-mail address removed)">

<network host="smtp.gmail.com" port="587" password="secret" userName="abc"
authenticationMode="SSL"/>

</smtp>

</mailSettings>

</system.net>
 
M

Mark Fitzpatrick

If you look in the documentation, there is no authenticationMode attribute
for the <network> config element.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top