View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035305 | mantisbt | bugtracker | public | 2025-02-07 10:03 | 2025-03-09 12:29 |
Reporter | devnull | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 2.27.0 | ||||
Summary | 0035305: PHPMailer - AWS SES (about configuration-set) | ||||
Description | Hey guys, We have a problem sending email through AMAZON SES. But using mantisbt PHP Mailer, when trying to send mail, I got on debug the error: 2025-02-07 00:01 -03 MAIL email_api.php:1560 email_send() ERROR: Message could not be sent ... - Configuration Set does not exist: Configuration set <my-first-configuration-set> does not exist. AmazonSES requires the configuration-set to be sent in the mail header. I couldn't find any mantisbt configuration where I could send this configuration-set name. "main" is my configuration set on Amazon SES. After this, sending mail through Amazon SES is working. The change I made to core/email_api.php will stop working when mantisbt is updated. Something like: And internally using this variable inside: Something like that. Sorry, I'm C programmer (not php programmer), but I hope I managed to explain. Many thanks! | ||||
Tags | No tags attached. | ||||
I'm not opposed to the idea. Would you be willing to submit a pull request ? @vboctor has been working on a new concept of EmailProviders, I'm wondering if that could cover the requirement ? See 0035288 Implementing this would likely introduce a conflict with the pending PR https://github.com/mantisbt/mantisbt/pull/2088 |
|
Hi @dregad, thanks for your reply! Sure I can! I opened https://github.com/mantisbt/mantisbt/pull/2092 I don't know, I will test this week @vboctor implementation. I liked the idea. |
|
What I meant, is that to introduce the new config required to fix your problem, it would probably be necessary to update the same source files as PR 2088, which would likely result in merge conflicts. I have not actually tested the EmailProviders feature, I just thought that it may be a potential solution to define a specific AmazonSES provider. To be analyzed and tested I guess. |
|
Oh yes, sorry for the misunderstanding. |
|
Done dregad! Please take a look at |
|
@devnull, PR 2088 has now been merged into master and according to @vboctor's recommendation, the improvement you proposed in https://github.com/mantisbt/mantisbt/pull/2092 should be rewritten as a plugin using the new Email Provider functionality.
I'm also repeating Victor's follow-up post below for future reference :
|
|