VBA Lotus Notes How to set MIME Encoding for SetContentFromBytes

Drawleeh

New Member
Joined
Sep 2, 2021
Messages
34
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Hello, I haven't been able to find any resource to explain to me how I can set the encoding for the .SetContentFromBytes Lotus Notes MIMEEntity method. I am trying to declare base64, in the official documentation it shows ENC_BASE64 and therefore I have this
VBA Code:
Call MIMEDoc.SetContentFromBytes(Nstream, "application/pdf", ENC_BASE64)
Stepping through my code, when this line is run it over-writes any previous encoding with
VBA Code:
ENC_NONE

Question then, how do I correctly declare ENC_BASE64 encoding in the LotusNotes SetContentFromBytes MIMEEntity method?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,215,745
Messages
6,126,633
Members
449,323
Latest member
Smarti1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top