Results 1 to 17 of 17

Thread: [RESOLVED] Add recipient to VB send mail

Hybrid View

  1. #1
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: [RESOLVED] Add recipient to VB send mail

    Quote Originally Posted by gmaradiaga View Post
    I am also trying to set up a user-completed form that would be emailed back to me, and am not receiving the data back, just the blank form. I am using the code provided above:

    Dim olApp As Object
    Dim olMsg As Object
    Set olApp = CreateObject("Outlook.Application")
    Set olMsg = olApp.CreateItem(0)
    With olMsg .To = "email add"
    .Subject = "subject"
    .Body = "body"
    .Attachments.Add Me.Path + "\" + Me.Name
    .Send
    End With

    Set olMsg = Nothing
    Set olApp = Nothing

    Any suggestions?
    Hi,

    I'm not sure if this will give some advice or not?

    http://www.vbforums.com/showthread.php?t=557488
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  2. #2
    New Member
    Join Date
    Mar 2011
    Posts
    1

    Re: [RESOLVED] Add recipient to VB send mail

    Thank you all for this information. You have helped me sooooo much.

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