Change Email Subject

I want to change the texts that we get while testing if email outgoing is working. Like I got a email with the subject “Test Email from SuiteCRM”

And email text " This email was sent in order to test the outgoing mail server information provided in the SuiteCRM application. A successful receipt of this email indicates that the outgoing mail server information provided is valid."

I also got following message when fix a meeting with someone

Subject : “SuiteCRM Meeting”

How I can change it to my company branding?

Hi
Look at the below file where you can make changes for your message.

\include\language\en_us.notify_template.html

1 Like

Thanks alot. Solved the last problem. But still getting SuiteCRM in Email confirmation.
Like I am still getting “test Email from SuiteCRM” while am testing the email system. DO you know what I should change?

Hey,

Looks like the Language strings for the Test Email are stored in the files:
modules/Users/language/en_us.lang.php
and
modules/Emails/language/en_us.lang.php

You should be able to customise these safely as follows:


Create a new file at: custom/Extension/modules/Emails/Ext/Language/en_us.lang.php
and Populate it with:

<?php
$mod_strings['LBL_TEST_EMAIL_SUBJECT'] = 'My Test Email Subject';

(Changing “My Test Email Subject” with whatever you like)


Then, create a file at:
custom/Extension/modules/Users/Ext/Language/en_us.lang.php
and Populate it with:

<?php
$mod_strings['LBL_TEST_EMAIL_SUBJECT'] = 'My Test Email Subject';

(Changing “My Test Email Subject” with whatever you like)


It looks like there is also the option of: “LBL_TEST_EMAIL_BODY”
Which populates the Test Email’s body with:
'This email was sent in order to test the outgoing mail server information provided in the SuiteCRM application. A successful receipt of this email indicates that the outgoing mail server information provided is valid.',


If you’d like to customise that too, you can simply add it to the above custom files, so they become like:

<?php
$mod_strings['LBL_TEST_EMAIL_SUBJECT'] = 'My Test Email Subject';
$mod_strings['LBL_TEST_EMAIL_BODY'] = 'Test Body!';

And the test email should come out with your custom values:
image


Let us know if you have any troubles!

1 Like

Not working. Still getting same email from SuiteCRM

Hmmmm, It should be working…

The old content may be cached so, If you haven’t already, I’d recommend running a Quick Repair and Rebuild
(Admin->Repair)

This should rebuild the Language Cache

Does this resolve the issue?

1 Like

Now its working. Thanks a lot John

1 Like