Samlant / QuickDraw

Automation for admin tasks, client intake, allocation of available markets, and dissemination of submissions to insurance carriers.
1 stars 0 forks source link

bug: local png file is not being sent in email as inline-pic correctly #76

Open Samlant opened 12 months ago

Samlant commented 12 months ago

Describe the bug When user selects a locally stored .PNG file to be used within the signature, the email does not correctly display it and instead shows a null icon. Saving this icon also does not show the proper photo.

Expected behavior A user can select a .PNG or .JPG to be used as their signature img (logo, signature, etc.) and will show properly in email.

Additional context Seems like we need to utilize some methods that can handle local files, not just photos available on the web... Or provide a way for photos to be automatically uploaded to the web... First look into the HTML source code to adopt lcoal file usage, secondly into Graph API for local file requriements/process, & thirdly look into utilizing online urls if needed.

Samlant commented 11 months ago

File must be globally available (on the receiver's machine, as well), so we should change the browse experience to upload the file online and use the link the file hoster provides.

Best situation is if there's an online API that will return a link to us, second-best case is that we use selenium to automate the browser, upload then retrieve the direct link...