Can you attach files to a SendObject?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • atlanteavila
    New Member
    • Aug 2008
    • 19

    #1

    Can you attach files to a SendObject?

    Can someone help me with the following code? I need help knowing if we can attach files to the code below. If so, how?

    Code:
    Private Sub Command6_Click()
    Dim subject As String, Body As String, Email As String
    Email = [Text99]
    subject = [Text0]
    Body = [Text1] & Chr$(13) & [Text2] & Chr$(13) & [Text3] & Chr$(13) & [Text4]
    
    DoCmd.SendObject , "Send an email", acForm, Email, , , subject, Body, False
    
    End Sub
    Thanks!
Working...