Results 1 to 12 of 12

Thread: COM Library for sending mails via SMTP?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2016
    Posts
    113

    COM Library for sending mails via SMTP?

    Is there any utilities one can make use immediately to send emails via SMTP? Close source, or open source, doesn't matter.

    Any suggestions?

  2. #2
    PowerPoster
    Join Date
    Sep 2012
    Posts
    2,083

    Re: COM Library for sending mails via SMTP?

    vbRichClient5 has the following classes:
    cRPCClientInfo, cRPCConnection, cRPCListener, cRPCListenerThread, cRPCStatusInfo, cTCPClient, cTCPServer, cUDP

    I don't know if they can be used to send emails, maybe Olaf can answer this question.
    Last edited by dreammanor; Apr 8th, 2017 at 08:55 AM.

  3. #3
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,897

    Re: COM Library for sending mails via SMTP?

    If commercial libraries are acceptable, I've been using Chilkat with success: https://www.chilkatsoft.com/default.asp

    There's a lot to handle with SMTP like encryption, DKIM, attachments, etc...so rolling your own would be a big job.

  4. #4
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: COM Library for sending mails via SMTP?

    At work we're using the "Dart-Dlls" (former PowerTCP-COMponents) for all kind of Mailing-stuff -
    they still offer bundles with COM/ActiveX-support:
    http://www.dart.com/mail-activex-email-library-api.aspx

    I agree with jpbro, that "writing your own, based on plain winsock-APIs" would be a huge task these days (with all the SSL/TLS-stuff now involved).

    But since you mentioned the RC5-(socket-based) Communication-Classes (which BTW don't support standard-Mail-protocols out of the box):

    Do you plan to use Mail-Protocols only as "just another transport-vehicle"?
    (to ensure "transfers to a Web-Host" in conjunction with your planned "Instant-Messenger-App").

    If yes, there are far better ways to approach that.

    Olaf
    Last edited by Schmidt; Apr 8th, 2017 at 11:37 AM.

  5. #5
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,700

    Re: COM Library for sending mails via SMTP?

    Perhaps some of these projects can help?

    https://www.planet-source-code.com/v...k+SSL&lngWId=1

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: COM Library for sending mails via SMTP?

    Why wouldn't you just use the CDO library that Windows comes with?

    There are thousands of samples out there, though some are pretty crudely done and appear to be based on very ancient ASP VBScript copy/pasting.
    Last edited by dilettante; Apr 9th, 2017 at 12:18 AM. Reason: silly typo

  7. #7
    Hyperactive Member
    Join Date
    Jan 2015
    Posts
    343

    Re: COM Library for sending mails via SMTP?


  8. #8
    gibra
    Guest

    Re: COM Library for sending mails via SMTP?

    Also, vbSendEmail library (free with source code)
    http://www.freevbcode.com/ShowCode.asp?ID=109

  9. #9
    PowerPoster
    Join Date
    Sep 2012
    Posts
    2,083

    Re: COM Library for sending mails via SMTP?

    Quote Originally Posted by Schmidt View Post
    Do you plan to use Mail-Protocols only as "just another transport-vehicle"?
    (to ensure "transfers to a Web-Host" in conjunction with your planned "Instant-Messenger-App").

    If yes, there are far better ways to approach that.

    Olaf
    I am planning "Instant-Messenger-App" and are collecting relevant information and third-party tools. After a few weeks I will post a thread to discuss the specific solution, hoping to get your advice and help.
    Last edited by dreammanor; Apr 9th, 2017 at 06:27 AM.

  10. #10
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,700

    Re: COM Library for sending mails via SMTP?

    Resurrected = dreammanor ???

  11. #11
    PowerPoster
    Join Date
    Sep 2012
    Posts
    2,083

    Re: COM Library for sending mails via SMTP?

    Quote Originally Posted by Eduardo- View Post
    Resurrected = dreammanor ???
    No, I'm not Resurrected. I have sent a thread about IM-app some time ago. I'm sorry to talk about things that are not relevant to the OP's topic.

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Aug 2016
    Posts
    113

    Re: COM Library for sending mails via SMTP?

    Guys. Sorry for the late reply.

    Do you plan to use Mail-Protocols only as "just another transport-vehicle"?
    Nope. Not in this case. But I'd like to learn about the RC5-(socket-based) Communication-Classes.


    Why wouldn't you just use the CDO library that Windows comes with?
    Also, vbSendEmail library (free with source code)
    Perhaps some of these projects can help?
    https://www.planet-source-code.com/v...k+SSL&lngWId=1
    Commercial libraries are not my options. I will try those mentioned above. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width