Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [anup123] I try this in welcome.eml but it doesn't work....

Quote Reply
Re: [anup123] I try this in welcome.eml but it doesn't work.... In reply to
In Reply To:
In welcome.eml i want to have certain domain specific parts of the bulletted list:

<%if domain eq 'x1' or domain eq 'x2'%>Message1<%else%>Message2<%endif%>

But in the Message that the user receives it is always Message2 although the domain is in ('x1' , 'x2').

So is it that this is not possible to have this in the welcome.eml?

Or is it that i am goofing up somewhere?


I'm thinking the latter :) I did a template dump in the welcome e-mail and domain is there so it should be working. Check for typos.

In Reply To:
Also can the 'From' part also be customized depending upon the domain involved?

You should be able to do this. Do something lik you did above:

Code:
From: <%if domain eq domain1.com%><%admin_email%><%elsif domain eq domain2.com%><%some_global%><%else%>admin@domain3.com<%endif%>

I'm thinking it will all have to be on the same line to work.

~Charlie
Subject Author Views Date
Thread I try this in welcome.eml but it doesn't work.... anup123 3264 May 10, 2003, 5:56 AM
Thread Re: [anup123] I try this in welcome.eml but it doesn't work....
Chaz 3166 May 10, 2003, 9:03 AM
Post Re: [Chaz] I try this in welcome.eml but it doesn't work....
anup123 3151 May 10, 2003, 12:18 PM
Post Re: [Chaz] I try this in welcome.eml but it doesn't work....
anup123 3148 May 14, 2003, 10:02 PM
Post Re: [Chaz] I try this in welcome.eml but it doesn't work....
anup123 3133 May 14, 2003, 10:59 PM