XF 1.1 How to edit outbound e-mails?

Carlos

Well-known member
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. http://forums.digitalpoint.com/advertising.php
 
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 :)
 
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 >"
 
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>
 
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.
 
Top Bottom