Quick question on using Send Object
Per users request, I am using code to create a string of names to create an email for. I.e., Joe@xyx.com, sally@aaa.com, Tom@bbb.com. The
string of names is assigned to Variable ToName. ToName is dimensioned as a string.
Executing the docmd.sendobject statement (below) works properly.
DoCmd.SendObject acSendNoObject, , , ToName, , , “Required SOP Training”, “Input Message”, -1
However, the issue is that the string ToName can exceed 255 characters such that the email To data is truncated to 255 in the email and any characters after 255 are not populated.
Is there a workaround to get the full ToName string to pass into the To field if its length exceeds 255 when using SendObject?
I can use mailing lists but the users want a visible record of whom the email was sent to, not just the mailing list. By the way, the email system is Lotus Notes.