SendObject

Joined
Feb 10, 2018
Messages
1
Reaction score
0
I use SendObject to send e-mail. If I refer to a field that's blank (e.g., EmailAddress), the e-mail isn't built (error). I tried using nz(field) but without success. Is there an easy fix for this?
 
Joined
Dec 7, 2011
Messages
16
Reaction score
0
It is Best Practice to first validate that the email exists before executing the sendobject.


Psuedo code:

If Nz(Me.MyEmailAddressControl,"") > "" Then

Docmd. SendObject ...

End If
 
Top