Odd one here.
I am embedding an image in an email using a linked resource. It doesn't show in the original generated email but when I click on reply or forward it shows up fine.
The following happens with Outlook.com (Hotmail) and Chrome/Firefox:
It doesn't show in either the default view or reply view in IE
It shows the image in the original and the reply on my iPad native email client
It shows same as Chrome/Firefox in Opera on the iPad.
Anyone know how to fix this anomaly?
Thanks
Use a multipart email to embed the image in the email:
How to create an email with embedded images that is compatible with the most mail clients
Key Concepts of MHTML
Related
When I send an SMS to my Twilio number which includes an image, there doesn't appear to be a filename associated with the image.
I'm using Twilio Studio.
Example:
Send an SMS text with image to my Twilio number
A Twilio Studio Flow pipes the {{trigger.message.MediaUrl0}} and sends an SMS text sent to my actual phone number
The URL is of the following format https://api.twilio.com/2010-04-01/Accounts/<long-GUID-1>/Messages/<long-GUID-2>/Media/<long-GUID-3>
Clicking on this URL opens a browser pointing to a translated URL https://s3-external-1.amazonaws.com/media.twiliocdn.com/<long-GUID-1>/<long-GUID-4> and showing the original image
But no filename.
I'm trying to access the filename so I can apply a naming convention to it. How is this accessed?
The URL to download the actual media is dynamically generated.
You can refer to the blog post here:
Retrieving Twilio MMS Image URLs with Node.js
I am successfully following the Nodemailer documentation to embed an image in the email from my app. As listed in the documentation, the image also shows up as an attachment to the email. So it's attached to the email, and embedded in the body of the email.
Is there a way to have the image embedded in the email body, but not also included as a separate attachment? I find the extra attachment is distracting.
Thank you!
Jon
I have a problem with Laravel mail image embedding or rather its combination with Outlook. I'm sending a mail containing embedded profile image of user who created certain activity. For some reason some people however don't see the image only big X icon:
I have tried attaching the image to the mail
The mail is coming from same domain
I was able to see the image even when I sent testing mail to my personal gmail account
My settings are the same as the person who is not able to see the image
EDIT:
image tag: <img class="img" src="cid:generated_id#swift.generated">
I am working on a nativescript(using javascript)mobile application and using RadChart on one of the pages.
I need to be able to open these chart on the default email client on the click of a button for user to be able to mail them. I did see that with the nativescript-email plugin we could send attachments, how do I attach the RadChart from the app to the email?
Or is there any way I could just open the RadChart page(from the mobile app) on to the mail client? Any other suggestions on how I could proceed with this?
You can not open RadChart or any native UI component on email client. Email could be either plain text or Html only.
You could capture a screenshot of RadChart and email the image as an attachment in the email.
Use nativescript-screenshot for taking screenshot of RadChart.
Use nativescript-email for sending email with attachment.
I am trying to create a simple bot that sends images and hyperlinks by SMS using Twilio (trial account).
I do get the reply from the bot , but none of the markdown is working, even simple markdown elements like text or bing
Sample code I am using to send the message through Twilio SMS channel:
public async Task<Message> Post([FromBody]Message message)
{
if(message.Text == "Hello")
{
string messageText = "![Sample Image](http://aka.ms/Fo983c)";
return message.CreateReplyMessage(messageText);
}
Am I missing something? The emulator displays the image and other markdown properly, but when I test using my android phone and text the Twilio number to connect to the bot, it delivers raw HTML and not the rich content.
Twilio developer evangelist here. As pointed our earlier SMS is text only, so markdown or any other formatting will not work.
I just tried sending a message from a bot, and while I get the image correctly on the emulator or webchat, on SMS I only get the URL of the image (i.e. http://aka.ms/Fo983c).
According to the documentation, this is the expected behavior as it states:
Not all channels can represent all markdown fields. As appropriate
channels will fallback to a reasonable approximation, for example,
bold will be represented in text messaging as bold
So I guess for images, it will always fallback to the URL of the image.
As for sending MMS, it appears right now the botframework doesn't support it. To be clear, Twilio itself does support MMS for US and Canada, but it seems Microsoft's implementation didn't take advantage of that right now.
Hope this helps you.
I did this when I was first trying out the framework. Sorry but I don't have that code anymore however I don't recall having to do anything special. I simply sent a picture from my phone to my twilio number and then in the message properties for the message received by the bot there was an attachment field with a URL pointing to the image sent from my phone. Then I used a regular web request to pull down the image.
The details for the attachment objects and content url fields are outlined here.
Because there's no way to emulate the SMS channel you'll have to publish the code live to be able to test it out.
Have fun!