Hi. I have an Excel config file which is being loaded into a dictionary and one of the fields contains the TO email address used by the Send SMTP Email activity. When I try to send the email and there are multiple email addresses it fails and says “Too many recipients”.
Is there are limitation to only having a single email address? If not, is there a particular way the email addresses should be stored in the config file? I have tried numerous ways without success as follows:
There is no limitation in UiPath for sending emails to multiple recipients using the “Send SMTP Email” activity. However, there are a few things you need to keep in mind when specifying multiple recipients in the “To” field:
The total number of recipients (including “To,” “Cc,” and “Bcc” recipients) should not exceed the maximum number of recipients allowed by the SMTP server. This limit is typically around 500-1000 recipients, depending on the server.
Make sure that the email addresses in the “To” field are properly formatted and do not contain any extra spaces or special characters.
If you are still encountering issues after making sure that the “To” field is properly formatted and the total number of recipients is within the allowed limit, it is possible that there is an issue with the SMTP server configuration or with the way the email is being sent. In this case, you may want to check the UiPath logs for any error messages or clues about what might be causing the issue.
Hi. I stored them in the config file without quotes and separated by a semi-colon so think that is ok. Will have to check with IT regarding any restrictions.