On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
>> So right now I try to read up on how to actually handle the mime object >> here... >> >> And I had an additional question: >> >> Does Synapse throw exceptions when errors happen? It does not look like that >> in >> the code I have examined so far but I have only looked in two units.. > >Yes, it does. > >You should always assume exceptions. Maybe synapse itself does not throw >one, but e.g. underlying file IO routines might. > So I have succeeded in sending a zip file as attachment using Synapse code snippets from your pdf and also the smtp source examples. However, when I send to 3 of my email addresses (one To and two Cc addresses) I get the email only to one of them. It does not matter if I place that address first or in the middle of the address list, it will get the email in any case. But the two other accounts (my company email managed by Google and my private Gmail) do not get the messages. Apart from reordering the 3 mail addresses I have also tried to replace the attached zipfile with another non-zip binary file, and then the emails to Gmail accounts are received. This is baffling and makes it hard to move on. Our monitoring system packages measured data into a zipfile in order for it to be reduced in size and because the data set consists of several files which need to be together. Is there some kind of blocking for emails with zip attachments which stops them from being delivered to GMail accounts? If so, is there some other type of compressed format I can use which is allowed by GMail? -- Bo Berglund Developer in Sweden _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal