Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

including link in welcome email

Aloittaja Donna, joulukuu 24, 2007, 06:50:02 IP

« edellinen - seuraava »

Donna

Hi, I've tried searching the forum for the answer to my quiery, I would like to send a download link for all new members for a bonus product and want to know how include a working link into the welcome text. Any ideas?

Thanks in advance

Spaceman-Spiff

I think in the current version there's no feature to edit outgoing emails.

However, you can open the file: /Themes/default/languages/Login.english.php and edit the contents of $txt['register_activate_message'] (activation request email) or $txt['register_immediate_message'] (welcome email).

Be careful when putting html codes that contains single quotes (')

Donna

Thanks for your help and yes, I had traced down login-english.php and had changed the wording of the text, however, I was just wondering about putting an ahref link in there and the correct syntax to use?

SleePy

You where able to track it around but do not know how to add a simple a href link :P
<a href="http://site.com/path/file.ext">Link name</a>

Links wont work on all email clients, as some disable html.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: