Gossamer Forum
Home : Products : Links 2.0 : Customization :

Newsletter - Incl. nametag

Quote Reply
Newsletter - Incl. nametag
Hi

When i write a newsletter i can incl. the tag : <%Contact Email%> so the reciver can see, what e-mail iīm sending the newsletter to:

Isīt possible to incl. a nametag to ?

When you sign-up to the maillist, you give both name and e-mail. And they are both to find in the email.db file ? So somehow it should be possible to incl. that tag ?

Will it make any difference, if i make my newsletters in html ?

kim
God love simple things - Like Links
Quote Reply
Re: [Webpoint] Newsletter - Incl. nametag In reply to
<%Contact Name%> should do it...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Newsletter - Incl. nametag In reply to
Now my only problem is that iīcanīt find a way to call the tag from html written in the newsletter field :-(

Kim
God love simple things - Like Links
Quote Reply
Re: [Webpoint] Newsletter - Incl. nametag In reply to
I am unsure what you are getting at here, but if its email html code you are after try this
Code:
<a href="mailto:<%Contact Email%>"><%Contact Name%></a>

Or something similar

Last edited by:

stu2000: Jan 16, 2003, 2:15 PM
Quote Reply
Re: [stu2000] Newsletter - Incl. nametag In reply to
I'm not sure, but in nph-email.pl, you may need to look for this:

Code:
# Otherwise let's personalise the message using our template and mail it away!
%link = &array_to_hash (0, @data);
$msg_mod = &load_template('email', \%link, $message);
$mailer->send ( { to => $data[$db_contact_email], msg => $msg_mod } ) ?


and add this

contact name => $contact_name

right here:

Code:


...email], contact name => $contact_name, msg...


Leonard
aka PerlFlunkie