Results 1 to 3 of 3

Thread: Sending e-mail with atachments from VB

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350

    Arrow

    I would like to send a e-mail from my app, but with attachment. I don't want to use some special non-windows controls, I will be satisfied with API or WinSock use.

    Thanks,
    John

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Mark
    -------------------

  3. #3
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    If you go to http://www.planetsourcecode.com/vb and search for BuzMail you can download my free mail 'object' that uses the VB MAPI controls but provides a much easier way to code for them. It allows for attachments as well. With my code it would be;

    Dim ThisMail as Mail
    MailAddAttach ThisMail, "Document", "C:\worddoc.doc"
    MailAddRecip ThisMail, "Buz", "[email protected]",0)
    MailSend ThisMail

    You can do a lot more with the functions provided as well. check it out!


    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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