G
Guest
good afternoon,
ui am sending an email through a command button via access switchboard. i
have it putting the email address on the (to) line... my question is how do i
put an email address on the cc line and add the subject and text "New
TechReq" in the body of the email?
thuis is the code i am cufrrently usung:
Private Sub Email_TechReq_Click()
On Error GoTo StartOutLook_Error
DoCmd.SendObject acSendNoObject, , , "derrick smith; bob johnson; lisa
jackson"
StartOutLook_Error:
If Err <> 2501 Then ' Ignore the error
MsgBox "Error: " & Err & " " & Error
End If
End Sub
ui am sending an email through a command button via access switchboard. i
have it putting the email address on the (to) line... my question is how do i
put an email address on the cc line and add the subject and text "New
TechReq" in the body of the email?
thuis is the code i am cufrrently usung:
Private Sub Email_TechReq_Click()
On Error GoTo StartOutLook_Error
DoCmd.SendObject acSendNoObject, , , "derrick smith; bob johnson; lisa
jackson"
StartOutLook_Error:
If Err <> 2501 Then ' Ignore the error
MsgBox "Error: " & Err & " " & Error
End If
End Sub