iOS Question When emailing from b4i app using gmail account, incomplete file attachment is being received

Greg Shannon

Member
Licensed User
Longtime User
I've using STMP to send an email with a small pdf < 100KB attached. Everything works in B4a, but in B4i some people are receiving an incomplete pdf attachment that is only 3KB in size.

The emails are being sent from gmail, using port 465, with UseSSL = true

In general if the recipient has a gmail or hotmail account they will receive the complete attachment, and recipients that have addresses like *@theircompany.com they will only get the incomplete pdf file attached.

In gmail's sent folder the complete pdf file is there in all cases, so if a then forward it to the same recipient they will then receive the complete attachment.

I tried sending one email (with attachment) to multiple recipients (my hotmail and my work email) and my hotmail received the full attachment and my work email only received the 3KB pdf that couldn't be opened.

Any help would be appreciated.
 

Greg Shannon

Member
Licensed User
Longtime User
Same result. When sending from my company's mailbox to my company mailbox results in an incomplete file, but when sent to hotmail or gmail the complete file is received.
 
Upvote 0

Greg Shannon

Member
Licensed User
Longtime User
If it's the company's firewall, why does it work when sent from the Android app, there has to be something different in the way the iOS program attaches the file to the email. When looking at the source email in gmail (by click on Show Original), the major different between the Android attachment and iOS attachment is that the iOS attachment is on one continuous line, and the working android attachment has line breaks after each 76 characters.

Anyways, how do I go about uploading the file to an online server?
 
Last edited:
Upvote 0
Top