Using the following code, I send email and it operates fine however, it also builds an attachment. How can I change the code so only the fields are emailed and not an attachment?
On Error GoTo Err_Command85_Click
Dim email, ref, origin, destination, notes As String
email = Me!email
ref = Me!PO
origin = Me!company
destination = Me!LocationID
notes = Me!Description
DoCmd.SendObject acSendForm, , acFormatTXT, email, , , "PO#-" & ref & ", " & origin & ", " & destination, notes, True
Exit_Command85_Click:
Exit Sub
Err_Command85_Click:
MsgBox Err.Description
Resume Exit_Command85_Click
End Sub
On Error GoTo Err_Command85_Click
Dim email, ref, origin, destination, notes As String
email = Me!email
ref = Me!PO
origin = Me!company
destination = Me!LocationID
notes = Me!Description
DoCmd.SendObject acSendForm, , acFormatTXT, email, , , "PO#-" & ref & ", " & origin & ", " & destination, notes, True
Exit_Command85_Click:
Exit Sub
Err_Command85_Click:
MsgBox Err.Description
Resume Exit_Command85_Click
End Sub