You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/mailer
sommerf-lf 7cdde20c73
Email option to embed images as base64 instead of link (#32061)
ref: #15081
ref: #14037

Documentation: https://gitea.com/gitea/docs/pulls/69

# Example
Content:

![image](https://github.com/user-attachments/assets/e73ebfbe-e329-40f6-9c4a-f73832bbb181)
Result in Email:

![image](https://github.com/user-attachments/assets/55b7019f-e17a-46c3-a374-3b4769d5c2d6)
Result with source code:
(first image is external image, 2nd is now embedded)

![image](https://github.com/user-attachments/assets/8e2804a1-580f-4a69-adcb-cc5d16f7da81)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 weeks ago
..
incoming Add missing comment reply handling (#32050) 6 months ago
sender Refactor "string truncate" (#32984) 3 months ago
token Use `crypto/sha256` (#29386) 1 year ago
mail.go Email option to embed images as base64 instead of link (#32061) 3 weeks ago
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2 years ago
mail_issue.go Refactor mail code (#33768) 4 weeks ago
mail_issue_common.go Email option to embed images as base64 instead of link (#32061) 3 weeks ago
mail_release.go Refactor mail code (#33768) 4 weeks ago
mail_repo.go Refactor mail code (#33768) 4 weeks ago
mail_team_invite.go Refactor mail code (#33768) 4 weeks ago
mail_test.go Email option to embed images as base64 instead of link (#32061) 3 weeks ago
mail_user.go Refactor mail code (#33768) 4 weeks ago
mailer.go Use new mail package instead of an unmintained one (#32682) 4 months ago
main_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
notify.go Move commits signature and verify functions to service layers (#33605) 1 month ago