Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: Donna - joulukuu 24, 2007, 06:50:02 IP

Otsikko: including link in welcome email
Kirjoitti: Donna - joulukuu 24, 2007, 06:50:02 IP
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
Otsikko: Re: including link in welcome email
Kirjoitti: Spaceman-Spiff - joulukuu 24, 2007, 08:41:57 IP
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 (')
Otsikko: Re: including link in welcome email
Kirjoitti: Donna - joulukuu 24, 2007, 10:50:30 IP
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?
Otsikko: Re: including link in welcome email
Kirjoitti: SleePy - joulukuu 30, 2007, 05:47:58 IP
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.