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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send an E-mail 1

Status
Not open for further replies.

Brezhnev

Programmer
Sep 25, 2002
53
0
0
CA
Hi everybody!
I just started to experiment with e-mail functionality.
Looks like CDO would do for me ( I probably will ned HTML formatting therefor can't use MAPI). Here is small part of the program ( based on Mikes examples) that i am trying to test.

LOCAL oMSG,oAtt
oMSG = CREATEOBJECT("cdo.message")
oMSG.To = "scklifasovskiy@hotmail.com"
oMSG.From = "me"
oMSG.Subject = "Hello Email"
oMSG.TextBody = "This is an easy way to create an email"
oAtt=oMSG.AddAttachment('c:\finreport.txt')
oMSG.Send()

Simply saying it does't do anything. What am I doing wrong ?
 
Brezhnev

Do you have Collaboration Data Objects installed? It would be a separate install, it does not install automatically with anything.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
i've got cdosys.dll in my system32. Do I have to still do anything ?
 
just trying to register cdosys.dll and getting an error :
DLLRegisterServer is failed ???
 
Brezhnev,

Didn't we go over this once before?

registration of .dll fails
thread184-759284

Slighthaze = NULL
[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
o yeah we did ... sorry about that ...i guess i posted the message and then got busy with something else ... thanks a
lot to everybody.. i'll continue with my testing.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top