emailjs
emailjs copied to clipboard
send an email with an embeded image, the email not display image in Huawei mobile's email client
send an email with an embeded image, the email not display image in Huawei mobile's email client
can you share the (redacted if necessary) message you're trying to send, as well as a code snippet demonstrating how you're using the library?
it might also be useful to run the library with debug mode on (call client.smtp.debug(1)
prior to sending the message) and seeing if there are any errors or abnormalities that pop out.
2.txt this is my test scripts, thank you very much.
the email can be sent to target account, but the embeded image not display normally
unfortunately i'm not (currently) familiar with how cid
images are supposed to be inlined.
@eleith would you be able to advise?
cid image support isn't guaranteed in all email clients (though in practice, i've seen support for it in many of them)
https://sendgrid.com/blog/embedding-images-emails-facts/
the thing to check is that emailjs is producing the intended source (my guess it is, since i used this when sending to gmail a few months ago).
rfc for CID is here: https://tools.ietf.org/html/rfc2392
some clients do support it, but deviate from the spec a bit.
@Yonysun can you verify the library is sending the email correctly? are there any issues we need to address?
@Yonysun can you verify the library is sending the email correctly? are there any issues we need to address?
yes, I'm sure, and my Huawei mobile phone received the email successfully.
BTW: Huawei mobilePhone's email client can show email image sent from outlook client
i don't have access to an outlook client to inspect how it embeds images. it would be helpful to compare emailjs output to that of outlook to see if the implementations differ and how.
not enough info to reproduce