I used automation for sending emails using this function :
Sub SendMessage(DisplayMsg As Boolean, CompanyEmail As Variant,AttachmentPath As Variant)
Microsoft Article ID: Q161088
I read the CompanyEmail from a table
Problem:
If DisplayMsg = True - OK - , no metter "how big" is the CompanyEmail ( e.g. " ex1@usa.net " - 1 address or "ex1@usa.net;ex1@usa.net - 2 addresses)
But... if DisplayMsg = False - for sending the messages in background, I've got an error message(see Subject)
JUST for the records with a CompanyEmail > 1 (e.g. " ex1@usa.net ; ex2@usa.net " -2 email addresses)
How can I resolve this issue ?
Any help would be very appreciate
Thx in advance
Cris
Sub SendMessage(DisplayMsg As Boolean, CompanyEmail As Variant,AttachmentPath As Variant)
Microsoft Article ID: Q161088
I read the CompanyEmail from a table
Problem:
If DisplayMsg = True - OK - , no metter "how big" is the CompanyEmail ( e.g. " ex1@usa.net " - 1 address or "ex1@usa.net;ex1@usa.net - 2 addresses)
But... if DisplayMsg = False - for sending the messages in background, I've got an error message(see Subject)
JUST for the records with a CompanyEmail > 1 (e.g. " ex1@usa.net ; ex2@usa.net " -2 email addresses)
How can I resolve this issue ?
Any help would be very appreciate
Thx in advance
Cris