Thursday, March 29, 2012

smtp email do not work with normal user rights >

Hello

I have a vb.net app from where I send emails using the smtp .net class.
I was developping it under my user rights (admin), but when I run it as a
normal user it faces an error of the sort of can't load cdo.....
I checked and all the cdo dlls are installed.
doe anybody have an idea ?
I check on the internet and many people have the same problem ?

simoHi Simo,

Change your code for the smtp server as follows:
<smtpMailObject>.smtpserver.insert(0,"server name") ' good code

instead of
<smtpMailObject>.smtpserver = "server name" ' sometimes bad code

HTH,
Bernie Yaeger

"simo sentissi" <simo_sentissi@.skc.edu> wrote in message
news:%23xs5eSjAEHA.712@.tk2msftngp13.phx.gbl...
> Hello
> I have a vb.net app from where I send emails using the smtp .net class.
> I was developping it under my user rights (admin), but when I run it as a
> normal user it faces an error of the sort of can't load cdo.....
> I checked and all the cdo dlls are installed.
> doe anybody have an idea ?
> I check on the internet and many people have the same problem ?
> simo
>

0 comments:

Post a Comment