Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 963
  • Last Modified:

replacement for vbsendmail

I have a large vb6 program and have been using vbsendmail for a few yrs to send email with rtf documents as attachments. Seems now that most email servers are requiring ssl which vbsendmail does not support.
Many of my users have had difficulty getting vbsendmail setup properly. I have seen quite a few different ways eg: cdo and others. just looking for recommendations.
0
isnoend2001
Asked:
isnoend2001
  • 3
1 Solution
 
game-masterCommented:


good morning!

i thinks using cdo is more OK than the vbsendmail..
if you want i can give u codes to send email using CDO..

game-master
0
 
game-masterCommented:
goto PROJECT>REFERENCES>MICROSOFT CDO FOR WINDOWS 2000 LIBRARY


use this code...

sub sendEmail()
   Dim objCDO As New CDO.Message
   
    With objCDO
         .Subject = "Test"
         .From = "alvindoliente@yahoo.com"
         .To = "addoliente@findme.com.ph"
         .TextBody = "Hello alvin... this is a test message."
         .Send
    End With
end sub

i hope this will give u idea...
0
 
isnoend2001Author Commented:
thanks
thats too easy
0
 
game-masterCommented:

im glad i could help.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now