Click here to Skip to main content
15,911,891 members

Comments by the1russ (Top 2 by date)

the1russ 11-Feb-16 13:34pm View    
never mind. I see 72 is the b64 encoded line size and just figured out the 72 comes from 54*(4/3). 4/3 being the expansion of encoded binary.
the1russ 11-Feb-16 13:27pm View    
Hi,
I’ve been able to modify your example to include multiple attachments in an email but was trying to make it faster without much success. I have a couple questions…

1. Regarding SEND_BUF_SIZE = 54 Where does the “54” come from? I’ve tried larger numbers and the routine is much faster all the way to the end when it crashes.

2. When calculating the size of the char to use for the base64 encoded string, where does the number “72” come from? charsize = (no_of_rows*72)+(no_of_rows*2);