View Issue Details

IDProjectCategoryView StatusLast Update
0029583mantisbtemailpublic2023-10-31 16:32
Reporterpenguin86 Assigned Tocommunity  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version2.25.2 
Target Version2.26.0Fixed in Version2.26.0 
Summary0029583: Support for sending emails with CC and/or BCC
Description

Hello, I'm opening this in reference to merge request #1766 (https://github.com/mantisbt/mantisbt/pull/1766), as requested by dregad.

The first request was to provide some context / rationale for the change. I'm working on a new feature on EmailReporter plugin that requires sending emails with CC and BCC addresses. The intent is to add the ability to notify the email sender when a new issue has been created, notifying at the same tame a static list of email addresses.
ATM the only way to specify CC and BCC fields is by setting the relevant headers via addCustomHeader(), but this implies they will be encoded by PHPMailer.
The pull request adds two optional parameters to email_store() function, containing the CC and BCC arrays of email addresses.

Dregad asked as well if are there additional / modified event hooks required for this. In this case, there aren't.

The last request was to reference this issue's ID in my commit message (i.e. Fixes #xxxx) and then rebase (not merge) my branch on top of latest master.
Once created this issue and obtained the ID I'm going to do this and let you know in a comment when it's done. I will also reopen the merge request on github.

Thank you for your support

TagsNo tags attached.

Activities

dregad

dregad

2022-02-09 09:23

developer   ~0066228

PR https://github.com/mantisbt/mantisbt/pull/1766

penguin86

penguin86

2022-02-09 09:30

reporter   ~0066229

Hello, it seems I don't have permissions to reopen PR #1766, so I've created a new PR 1794: https://github.com/mantisbt/mantisbt/pull/1794

Please let me know if I can help in any way.

Thank you, have a nice day

Related Changesets

MantisBT: master 4f5b8595

2022-02-10 12:00

Daniele Verducci

Committer: community


Details Diff
Support for sending emails with CC and/or BCC

Fixes 0029583, PR https://github.com/mantisbt/mantisbt/pull/1794
Affected Issues
0029583
mod - core/email_api.php Diff File
mod - core/email_queue_api.php Diff File