fix: update OpenSearch host configuration and improve code consistency across controllers and components
This commit is contained in:
parent
9c0221ce27
commit
6c75efbc28
7 changed files with 368 additions and 141 deletions
|
|
@ -85,15 +85,14 @@ export default class MailSettingsController {
|
|||
}
|
||||
|
||||
try {
|
||||
await mail.send(
|
||||
(message) => {
|
||||
message
|
||||
// .from(Config.get('mail.from.address'))
|
||||
.from('tethys@geosphere.at')
|
||||
.to(userEmail)
|
||||
.subject('Test Email')
|
||||
.html('<p>If you received this email, the email configuration seems to be correct.</p>');
|
||||
});
|
||||
await mail.send((message) => {
|
||||
message
|
||||
// .from(Config.get('mail.from.address'))
|
||||
.from('tethys@geosphere.at')
|
||||
.to(userEmail)
|
||||
.subject('Test Email')
|
||||
.html('<p>If you received this email, the email configuration seems to be correct.</p>');
|
||||
});
|
||||
|
||||
return response.json({ success: true, message: 'Test email sent successfully' });
|
||||
// return response.flash('Test email sent successfully!', 'message').redirect().back();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue