Results 1 to 2 of 2

Thread: How to send E-Mails with Attached files using VB and OutlookExpress?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Maceió,Al - Brazil
    Posts
    30

    Question

    Hi Friends,

    I need a routine to send E-Mails with attached files using VB and OutlookExpress. I've seen routines that use Outlook, but how can I use OutlookExpress instead?

    Thanks in advance for any help.

    Fernando.

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    From HeSaidJoe :p

    Code:
    With objOutlookMsg
        .To = Rst!email
        .Subject = mySubject
        .Body = "To All Parties Concerned:" & vbNewLine & vbNewLine
        .Importance = olImportanceHigh
        Set objOutlookAttach = .Attachments.Add(strAttachments)
    End With

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