• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 How to edit outbound e-mails?

Carlos

Well-known member
#1
I recieved an e-mail earlier today, and I found an inspiration from this message:

"Dear [username],

[username] has requested that you become friends. You can approve or deny this request by visiting:

http://forums.digitalpoint.com/profile.php?do=buddylist

All the best,
Digital Point Forums

-----
Follow us on Twitter: http://twitter.com/digitalpoint
-----
Advertise on digitalpoint.com (banner, inline or email): http://forums.digitalpoint.com/advertising.php"

The question that I have: Is there a e-mail template that I can edit to put in "Follow us on Twitter." and other information?

I feel like I haven't utilized the xenForo e-mail system as much I should have.
 

Vincent

Well-known member
#2
Enable Debug Mode --> ACP --> Development -> Email Templates

And then you can edit MAIL_CONTAINER with the content you like. It should appear always, in every mail then :)
 

Morgain

Well-known member
#5
I just want to edit the View this Thread button to make it more prominent.
Do I need to do grownup things like debug mode for that?
 

Carlos

Well-known member
#6
When I tried editing the template, I edited this way:

<a href="{xen:link canonical:index}" style="color: #176093; text-decoration:none">{$xenOptions.boardTitle}</a>
</td>
</tr>
<tr>
<td style="
background-color: #FCFCFF;
padding: 1em;
color: #141414;
font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
font-size: 13px;
line-height: 1.231;">
{xen:raw $bodyHtml}
Follow us on twitter: <<a href="http://www.twitter.com/MVC3Forum" title="Marvel Vs Capcom 3 Forum Twitter"></a>
This is what the test showed me:

" It works
On Jan 29, 2012 5:57 PM,
"MVC3Forum" <carlos@mw3blog.com> wrote: > testing e-mail >"
 

Trombones13

Well-known member
#8
If I'm understanding you correctly, it's that your text isn't inside the anchor tags. It should look like this:
Code:
<a href="http://www.twitter.com/MVC3Forum" title="Marvel Vs Capcom 3 Forum Twitter">Follow us on Twitter</a>
(though I don't think that title attribute does anything)
or
Code:
Follow us on Twitter: <a href="http://www.twitter.com/MVC3Forum">Marvel Vs Capcom 3 Forum Twitter</a>
 

Carlos

Well-known member
#9
Both seems viable solutions, thanks, Trombones! :)

But it doesn't seem to show up in the e-mail when testing the e-mail template. I will try again when I edit it using the solutions you provided.