V
VAL
I have the following and can't seem to add what I need to it:
Private Sub SendConfirmationEmail_Click()
Dim stDocName As String
Dim stLinkCriteria As String
Dim subject As String
Dim Message As String
If IsNull() Or [Email] = "" Then
MsgBox "There is no E-mail for this Delegate!"
Exit Sub
Else
stLinkCriteria = Me![Email]
stsubject = "Registration Confirmation"
stMessageText = "this is a test"
DoCmd.SendObject acSendNoObject, , , stLinkCriteria, , , stsubject,
stMessageText
End If
End Sub
What I need is:
1) Bcc (I have tried every variation... obviously I don't understand the
syntax...)
2) How to not get a "Error/Debug" message when the user changes his/her mind
and doesn't send the email
THANK YOU
Val
Private Sub SendConfirmationEmail_Click()
Dim stDocName As String
Dim stLinkCriteria As String
Dim subject As String
Dim Message As String
If IsNull() Or [Email] = "" Then
MsgBox "There is no E-mail for this Delegate!"
Exit Sub
Else
stLinkCriteria = Me![Email]
stsubject = "Registration Confirmation"
stMessageText = "this is a test"
DoCmd.SendObject acSendNoObject, , , stLinkCriteria, , , stsubject,
stMessageText
End If
End Sub
What I need is:
1) Bcc (I have tried every variation... obviously I don't understand the
syntax...)
2) How to not get a "Error/Debug" message when the user changes his/her mind
and doesn't send the email
THANK YOU
Val