Results 1 to 2 of 2

Thread: Email and Win32 API?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    26

    Question Email and Win32 API?

    Hi everyone, I have seen a ton of articles on using windows winsock control to mail enable your apps but thats not exactly what im looking for. I want to be able to handle mail directly with api calls. I have looked all over the net for this information and can't find it anywhere. I did find one code example on www.planet-source-code.com but it wasn't very good and it didn't seem to work correctly. I have some window services that i would like to mail enable but i don't want to have to add a form to the project to be able to mail enable my app. Also, I like the lighter weight nature of using direct api calls. If anyone can help me it would be much appreciated.

    thanks
    ncage

    p.s. sorry everyone, i forgot to mention that it is pop3 type mail that im worried about
    Last edited by ncage; Sep 21st, 2001 at 05:43 PM.

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    You can set a reference to the winsock control in your application and you don't need to have a form to access its
    properties/events/mehtods. After you have set a reference, use this line at the start of the code to expose all its methods, events
    and properties in your modules/classes.
    Code:
    Private WithEvents Wsk as Winsock
    If you still think api is the way to go, you can go to www.allapi.net and get a full client-server example using winsock
    api's

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