Does Mandrill have a limit on Email size or POST size through API? - email

The scenario: HTML emails are getting delivered successfully through Mandrill but the content looks as though it's cut off half-way through the email. Mandrill is giving me a JSON success message when I hit the API using POST method.
Because the HTML is cut-off halfway through the email it makes me think there is either a character limit for the email Body/Message when POSTing or there is a limit in Mandrill on the Body/Message size of the email.
My question is; is there any known limit on either POSTing to the Mandrill API or on the Email size sent through Mandrill? Or any other suspected reason for this happening?
(The account Mandrill is in test mode at the moment, I am also using FileMaker's [Insert from URL] method to POST - in case this information is relevant.)

From Mandrill Knowledge Base:
Messages in Mandrill can't exceed 25MB in total size (including
content and attachments). There is no specific limit for individual
attachments, just the total size of the message. Because attachments
are Base64-encoded, this generally means that they will be 1/3 larger
when sending than they are on disk due to the encoding.
https://mandrill.zendesk.com/hc/en-us/articles/360038804694

Related

MS Graph: Mail with large attachmnet is rejected by recepient

MS Graph uses different method to send attachments larger than 3MB. My code usses method .Messages[msg.Id].Attachments.Request().AddAsync(attachment); to add attachment smaller than 3MB and method Messages[msg.Id].Attachments.CreateUploadSession(attachmentItem).Request().PostAsync(); for attacments larger than 3MB. Code works fine and I see sent mails in Sent folder. When recepient is Gmail (Google workspace account), mail was rejected. If I remove large attacment (about 3.5MB), mail is received. Google documentation says that receiving message limit is 15MB.
I tried to send mail with large attachment to different recepients. If recepient is MS365 recepient, mail is delivered. Yahoo, Gmail and few tested receiving sides rejected mail.
Is there anything special in the code to make it work with other mail servers except MS365?
Edit:
I tried to send mail using OWA and same account as sender, same recipient. Mail was rejected. It seems no problem in code.

How to reduce number of deferred emails SMTP SendGrid

I am using sendgrid to send out emails. My Django code for sending emails looks something like this
client_message = EmailMessage(
'Subject',
'Message Content',
'Name <support#domain.org>',
[client_email],
['support#domain.org],
)
client_message.content_subtype = "html"
client_message.attach('MyFile.pdf', file, 'application/pdf')
client_message.send(fail_silently=False)
I have the content_subtype as HTML so that I can do page breaks between paragraphs.
I am sending out 2 emails at a time and am sending a very low volume, < 100 / day. I just began sending emails. My emails are landing in Gmail spam inbox and not getting delivered at all into Yahoo / Comcast. I have already whitelisted my own domain's DNS using SendGrid.
What is best policy for my email content so get them delivered? I have heard
Removing all hyperlinks in my message
Putting a physical mailing address in the footer of the email
Putting the words "reply STOP to unsubscribe" in the email footer
Changing the content type of my email from HTML
It's important that I attach the files when sending the email. What else can I do to make sure my emails go through?
I had just verified my domain a few hours before sending the ultimately deferred emails. I believe the answer is that my domain verification was still being processed, and my emails landed in the the recipients inbox 2 days later. For future people having this problem, if possible see if the problem fixes itself after a few days.
Litmus.com is also a fantastic resource to check your content and security settings.

Gmail blocked emails sent from Send Grid

We are trying to send mail on to Gmail account by using send grid api but Gmail has blocked the email which is sent from send grid. Please check the message given below:
550 5.7.1 [167.89.24.147 12] Our system has detected that this message is likely unsolicited mail. To reduce the amount of spam sent to Gmail, this message has been blocked. Please visit http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for more information. kw15si11591084pab.218 - gsmtp
We have checked all header parameter suggested by Send Grid and implemented it in our code. At the same moment, it works fine for other domain like AOL, Rediff etc.
Please suggest how we overcome with this problem as we have huge users on Gmail and we will send our emails to all those users as. Also, we have noticed that the email came after some time from Send Grid.
Many thanks in advance.
The recipient mail server analyzed your message and determined that the content of the message is spammy. My recommendation would be to run your formatted message through a third-party service, www.mail-tester.com , to identify ways to improve the reception of the message. It's also possible that your sending IP address, 167.89.24.147 based on the response message you've included, is listed on a black list. You'll want to scan your sending IP on a site like http://multirbl.valli.org/ and, if you see that your IP is listed anywhere, submit a delisting request with the black list.
SendGrid also has a Spam Checker app - Turning on SendGrid's Spam Checker app can help combat this, as you're able to set a predefined filter and get alerted when your content exceeds the filter that you set.

unable to deliver a pdf attachment to clients

On our website which is asp.net, we make a sale and an automated email is sent out to the client with an attached PDF invoice we create using a 3rd party app. We are having trouble getting these delivered successfully to some corporate clients. Yet we also send a copy of that same email to ourselves which we receive fine. We can then forward this on to the client and they do receive it no problems. So the original is not received but the forwarded mail is.
The webserver is a seperate IP address to our office Exchange server which sends the forwarded mail.
I have tried to find the difference between the 2 mails and it looked like a rich text issue, except that the mail is plain text or html!
The question is a little vague i know as i do not know where to look for the best. It seems to make no differenec which mail program is used, we tried MailEable and it was the same thing.
Mail is logged on the web server as leaving and that is the last we see of it. It doesnt bounce but it is definatley delivered to the client server, but doesnt reach the recipient. We used to track thru Message Labs and it would say it had reached the destination server ok. We do not use ML anymore until we find the issue, keeping it simple.
We have no issues sending to AOL, Hotmail and Yahoo etc.
It appears something in the email is upsetting server based spam software.
We havnt been able to get hold of any email logs from clients.
any suggestions?
Check out this link mentioning a reason not related to size issues
The SMTP (internet mail protocol) RFC (An RFC is a document describing
the standards that make the Internet work.) explicitly states that the
length of a single unterminated line can be 1000 bytes, no larger.
Some SMTP servers violate this, and the Firebox (this is our firewall)
will drop the connection when the line length exceeds the configured
length, which defaults to 1000.
which might indicate your pdf generator and/or mail generator creates output that's not 100% standards compliant. Might be a good point to check as it could explain why certain customer suffer fom this problem only.
552 Requested mail action aborted: exceeded storage allocation
This means there was a violation at the client's ("customer's") mail server. The message exceeded a threshold/limit of some kind. It's not clear if this is a per-message limit or if the user's mailbox is just so full that it cannot accept another message.
Either way, this is mostly out of your control. Only thing you can do it try to keep your e-mail messages and attachments as small as possible. If you can, compress (zip) any attachments before sending.

Cakephp emails going to spam

I am sending email using cakephps email function. The email sends correctly but it is going to the spam folder.
Can anyone sugggest?
There can be many causes:
The email's content looks like spam (lots of links within a little amount of text, too much alpha-numeric gibberish, certain common spam words)
The server from which you're sending the emails has been black-listed
The email is not properly formatted (so in your case, check that you're using CakePHP's email function fully correctly)
I would try to send a good length, regular email without any links, as if you were writing to a friend, and see if it's a content issue. If the server you're emailing from has been identified as a source of spam and is black-listed by an ISP, there's not a whole lot you can change about that.
It can happen due to your mail content.
Check your mail contents that contain somethings that spam filter count.