cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Impactful Individual
Impactful Individual

Sending email with several base64 images

Hi I am trying to create an email with a lot of graphics which have been converted to base64.

 

The email with just the graphics worked fine.

 

Then I started adding in some dynamic fields pulling data from a SP list.

 

Now getting error

Screenshot 2020-10-22 154004.png

 

I'm assuming the dynamic data put me over the limit of 131,072? (Random number it seems).

 

Is there a way to configure this "maximum" or is it built in?

 

Is there another way to send this besides creating Azure App and all that with API v2.

 

Terry

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support
Community Support

Hi @Mattw112IG,

 

The expression evaluation limit is 131,072 characters, it's not a random number, 131,072 characters = 1,048,576 bytes = 1MB.

You could refer to the document to know the limits:

Limits and configuration - Power Automate | Microsoft Docs

It's unfortunate that there is no way could configure the "maximum", it's by design.

 

You could send the image link instead of send base64 code.

About that pleaser refer to this post, hope something could help you:

Solved: Send email and HTML - Power Platform Community (microsoft.com)

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Impactful Individual
Impactful Individual

I ended up breaking the graphic up into pieces using a compose and then put the compose outputs into the email and it worked.

 

Thanks,

Terry

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @Mattw112IG,

 

The expression evaluation limit is 131,072 characters, it's not a random number, 131,072 characters = 1,048,576 bytes = 1MB.

You could refer to the document to know the limits:

Limits and configuration - Power Automate | Microsoft Docs

It's unfortunate that there is no way could configure the "maximum", it's by design.

 

You could send the image link instead of send base64 code.

About that pleaser refer to this post, hope something could help you:

Solved: Send email and HTML - Power Platform Community (microsoft.com)

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Impactful Individual
Impactful Individual

I ended up breaking the graphic up into pieces using a compose and then put the compose outputs into the email and it worked.

 

Thanks,

Terry

View solution in original post

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (94,482)