Email delivery failed with PDF attachment

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
Hello,

Are the domains which you're sending the attachment to located on your server or are they remote domains? If the attachment is being stripped or the mail is failing to send with the attachment, then it's likely that the remote host has blocked attachments or specifically pdf files as attachments
 

keat63

Well-Known Member
Nov 20, 2014
1,808
207
93
cPanel Access Level
Root Administrator
How long are the pdf file names.
I've seen similar issues where the file name is extremely long with underscores.

Also, if the pdf was converted from a doc file, and has a double dot file extension.

eg: mypdffile_this_is_the_one.doc.pdf

This will trigger our firewall, and end up being stipped out.
 

Uisort

Registered
Dec 16, 2019
4
0
1
India
cPanel Access Level
Root Administrator
Just 8 charater alphanumeric ex: ye34mncj.pdf , even one page pdf information, but i can send this pdf manually from my gmail account to that users it will get delivered
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
It's quite possible that when sending this as a result of a script it is causing it to be flagged as spam, unfortunately, without any details on this, we wouldn't have a way to know which. When testing, is the email sent with the attachment successfully to other addresses?