Jump to content
View in the app

A better way to browse. Learn more.

Learn more

Forum generated email name used

You are viewing a curated collection of the most significant posts in this topic with an estimated read time of 10 minutes. The full topic contains 38 posts with an estimated read time of 25 minutes.

Featured Replies

Hi There,

Is there a way to change how emails generated on the forum, like contact us, and the name at the top of the generated email.

Currently, it is "Hi Hans - Webmaster" and I would like this to be a different user/admin?

Thanks

Hans

Edited by HRN-Admin

  • Author

Thanks Marc,

So how do I change this in the code as I don't see the bit where the greeting goes:

{$email->language->addToStack("email_contact_form", FALSE)}
<br><br>
<table width='100%' cellpadding='0' cellspacing='50' border='0'>
	<tr>
		<td dir='{dir}' width='40' valign='top' class='hidePhone'>
			<img src='{$member->get_photo( true, true )}' width='40' height='40' style='border-radius: 6px;'>
		</td>
		<td dir='{dir}' valign='top'>
			<table width='100%' cellpadding='0' cellspacing='0' border='0'>
				<tr>
					<td dir='{dir}' style="font-family: system-ui, 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px;">
						<strong class="color_hard">{$email->language->addToStack("email_contact_said", FALSE, array( 'sprintf' => array( $name, $fromEmail ) ) )}</strong>
						<br>
						{$email->parseTextForEmail( $message, $email->language )|raw}
						{{if $referrer}}
							<br><br><div class="color_soft">{lang="contact_form_referrer" sprintf="$referrer, $referrer"}</div>
						{{endif}}
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br><br>
<em class="color_soft" style="color:#4b4b4b;">— {setting="board_name"}</em>
  • Author

Thanks Marc, but how can I then remove the "greeting"? We never did change anything in the template, but it now shows one.

  • 4 months later...
  • Author

Hi Marc,

Any update on how to change the greeting in the Contact Us email?

  • 2 weeks later...
  • Community Expert
On 11/11/2026 at 6:46 AM, HRN-Admin said:

Hi Marc,

Any update on how to change the greeting in the Contact Us email?

It is really limited in what you can do in v5. If you wish to edit the opening (greeting) message, you can do this by editing the language string.

ACP > Customization > Localization (Languages) > search for: Hi %s,

I seem to recall an app for editing email templates - I'll have a check and will report back here if I turn up anything.

  • Community Expert
50 minutes ago, Como said:

It is really limited in what you can do in v5. If you wish to edit the opening (greeting) message, you can do this by editing the language string.

ACP > Customization > Localization (Languages) > search for: Hi %s,

I seem to recall an app for editing email templates - I'll have a check and will report back here if I turn up anything.

Just like in version 4, you can edit the email templates themselves still in ACP -> Customization -> Emails.

  • Community Expert
1 hour ago, Jim M said:

Just like in version 4, you can edit the email templates themselves still in ACP -> Customization -> Emails.

Urgh. Thanks, Jim. It seems that I had misremembered my inquiry and reply from @Marc earlier this year. I did search for email template editing before my post above, but somehow managed to miss it. I seemed to recall that the ability to edit email templates existed, but then assumed that I was having a brain fart. It seems that I was indeed having brain fart - just not the one I thought it was. 😐

However, if all @HRN-Admin requires is to edit the greeting, I suppose what Marc suggested to me in April would still stand as the easiest approach.

  • Community Expert
41 minutes ago, Como said:

Urgh. Thanks, Jim. It seems that I had misremembered my inquiry and reply from @Marc earlier this year. I did search for email template editing before my post above, but somehow managed to miss it. I seemed to recall that the ability to edit email templates existed, but then assumed that I was having a brain fart. It seems that I was indeed having brain fart - just not the one I thought it was. 😐

However, if all @HRN-Admin requires is to edit the greeting, I suppose what Marc suggested to me in April would still stand as the easiest approach.

No worries! Happens to me more than I would like.

Yeah, language strings are generally the best way to go for simple wording changes. Whereas, HTML or structure changes should be template.

  • Author

For some odd reason, I cannot find where to change the greeting in the contact form. I did look at the contact form code and there is no hard coded element that uses a fixed greeting.

No matter who the recipients are in the list, the greeting is always:


"Hi Hans - Webmaster" and I would like to remove this, but cannot for the life of me find any customization that includes this.

{$email->language->addToStack("email_contact_form", FALSE)}
<br><br>
<table width='100%' cellpadding='0' cellspacing='50' border='0'>
	<tr>
		<td dir='{dir}' width='40' valign='top' class='hidePhone'>
			<img src='{$member->get_photo( true, true )}' width='40' height='40' style='border-radius: 6px;'>
		</td>
		<td dir='{dir}' valign='top'>
			<table width='100%' cellpadding='0' cellspacing='0' border='0'>
				<tr>
					<td dir='{dir}' style="font-family: system-ui, 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px;">
						<strong class="color_hard">{$email->language->addToStack("email_contact_said", FALSE, array( 'sprintf' => array( $name, $fromEmail ) ) )}</strong>
						<br>
						{$email->parseTextForEmail( $message, $email->language )|raw}
						{{if $referrer}}
							<br><br><div class="color_soft">{lang="contact_form_referrer" sprintf="$referrer, $referrer"}</div>
						{{endif}}
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br><br>
<em class="color_soft" style="color:#4b4b4b;">— {setting="board_name"}</em>
  • Author

So there are only 2 addresses on the list, both get the same greeting:

image.png

Both receive the contact us email with "Hi Hans Webmaster", which is what I want to remove, but cannot find where to do this.

  • Author

OK, so I had a look in the other mailboxes and since we started using the Community Mailer, it did change. So thanks for all the help with this, it looks like it is doing what it is supposed to do:
image.png

Edited by HRN-Admin

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.