Hello Experts,
Error message received from Gmail when sending email to multiple Gmail recipients it also indicates that seeing duplicate headers and rejecting the email by Gmail.
To send email we are using SMPT protocol and following objects
- n_cst_mailservice
- n_cst_winsock
- n_cst_smtp (inherited from n_cst_winsock)
The data portion of the message look like following when sending a single email address in 2 Gmail account marked in yellow.
From: <dipanjan.dutta.21281@gmail.com>
User-Agent: TopWiz PowerBuilder 17.2 SMTP Object
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: <datta.dipanjan@gmail.com>
To: <duttadipanjan@gmail.com>
Reply-To: <dipanjan.dutta.21281@gmail.com>
Subject: Customer: Your Company Invoice: XXXXXXXXX 3/27/2023 is Attached
Content-Type: multipart/mixed;
boundary="2AF3270B-5413-43B5-286A-080C00000000"
etc…………
Could anyone help me on that? Advance thanks for your help.
Thanks & Regards
Dipanjan
Nothing to do with the main question. But have you considered using BCC instead of TO? It's not a good practice to make "public" your recipients...
Andreas.