my clients want a functionality to send bulk email with an attachment in jpg format, but in current scenario when I send an email the attachment is converted into .html link.
please help
if there is no solution then please mention
thankyou!
Can you check this setting in your org.
You can configure whenever you want to attach files as links or actual data in Setup > Email > Email Attachments.
From following options select last option to attach file as attachments.
It will be more easy to help if you will share the code. I hope you are using SingleEmailMessage method.