Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot send a email in a vb.net project

Status
Not open for further replies.

laxminew

Programmer
Oct 27, 2003
9
AU
Hi!
I am creating a new VB.net project in which I have to send email, which I am trying to do using system.web.mail.

In this project I am using oledb data connection, command and a reader to extract data. WHen I try to send email I get a message "could not access cdo.message object".
If I remove the part of the code where I am extracting the data using oledb, I am able to send the mail.
Could you please help where I am going wrong.
Your help is much appreciated
Nalina
 
Do yourself a big favor and buy ChilKat's email control for .NET. It's cheap and works great. Best of all it's supported really nicely.


I hope this helps.

And you can download a trial. M$ is changine the CDO packages daily, and I think it's only a matter of time how long you'll be able to use the email system with all the virus' out there. IMHO, of course.
 
Hi Nalina,

There must be a problem with your oledb integration.
Could you provide a piece of source line about how yo gather information from db and merge it to mail?
Then it will be much easier for anyone who wants to answer.

bye
@li
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top