smtp email do not work with normal user rights >

S

simo sentissi

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
 
B

Bernie Yaeger

Hi 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
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top