Whenever a customer buys a ticket, we are sending them QR codes for each ticket. Now a random customer bought 50 tickets at the same time which made that email size more than 40MB and Amazon SES has a size limit of 40MB due to which that email was rejected. Now to solve this,
67
15
1K
Replies
Okay so I was testing this change and I was able to buy around 100 tickets but now there is another case which I forgot earlier. I am using SQS to schedule these mails and SQS's message size has limit of 1024kb so that might restrict emails with larger PDF. Now many people have
1
0
15
I pitched the solution and the only requirement is to send tickets within the mail. Now I am realising that I did a stupid mistake. My mail never reached 40MB limit, it reached fuckin 1MB limit of SQS which was preventing it to send mail. Now I’ll pass in QR details in SQS
1
0
6