Starts in:
0 DAY
12 HRS
7 MIN
22 SEC
Starts in:
0 D
12 H
7 M
22 S
Open Closed

Image Embedded on Email #5041


User avatar
0
Zahra created
  • 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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team 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 created

    but your demo dose not contain any images

  • User Avatar
    0
    maliming created
    Support Team 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 created
    Support Team Director

    This is not directly related to ABP :)

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06