Ouvert Fermé

Image Embedded on Email #5041


User avatar
0
Zahra créé
  • ABP Framework version: v5
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:I want to add LinkedResource with image that have cid because the normal path dose not work >>>>>I want like this :

** LinkedResource inline = new LinkedResource("filename.jpg", MediaTypeNames.Image.Jpeg); inline.ContentId = Guid.NewGuid().ToString(); avHtml.LinkedResources.Add(inline);**

but for your template >>I think embedded image need cid on src

  • Steps to reproduce the issue:"

4 Réponse (s)
  • User Avatar
    0
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    This is email-related. You can use our test program to test it.

    https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo

  • User Avatar
    0
    Zahra créé

    but your demo dose not contain any images

  • User Avatar
    0
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    The mail sender components are from Microsft and Mailkit.

    You can check its documentation to see how to send a mail with images.

  • User Avatar
    0
    alper créé
    Équipe d'assistance Director

    This is not directly related to ABP :)

Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11