CDO Mail Problem

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

I am having a strange problem; I am hoping someone can help me.
I am sending email through my vb.net program using the cdo model with
this code:

Dim objMail As New CDO.Message

' Send the mail
With objMail
.Subject = pSubject
.TextBody = pBody
.To = pTo
.From = pFrom
.CC = pcc
.BCC = pBcc

.Send()

End With

We are using cdo instead of outlook because we want the "from"
address to be different than that of the user.

This is a windows based NOT a web-based asp.net program.

This works fine on my development machine and it works on my user's
machine as long as we don't try to send outside our domain. For
example, if we were Microsoft (e-mail address removed) would work but
(e-mail address removed) would not.

Yet if I log on as myself on my user's machine it all works fine. The
different is that I have administrator rights and she does not. We
don't want to promote her to administrator we just want to fix
whatever setting is not set right. We try a number of things so far
that didn't work.

We are using exchange server for email.
 
I would not use CDO if I had to send plain text messages. If you don't
want your e-mail to be known then use BLAT (http://www.blat.net/) -
just reference the SMTP server.

Udi Witelson
 
Back
Top