I would like to display banner ads only to selected
domains. I know how to
set it up for ALL domains but I only would like it to
go to a few carefully
chosen ones. Is this possible? If so, how?
Lee
Cuevas
Online
Systems Integration
303.692.0233
877.692.0233 Toll
Free
http://www.olsi.com
[EMAIL PROTECTED]
-----Original
Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Michael B. Murdock
Sent: Tuesday, November 30, 1999
4:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum]
Trailer.txt problem
OK... not SOL yet!
I figured out a "hack" that will do what I want for now...
For the benefit of anyone else who might want to solve this problem here is
my solution....
In the Web Template file SENDMAIL.HTML find the JavaScript function below...
==============================================================
function valsb(form)
{
var address = "";
var sendto = ""
var sendcc = ""
var sendbcc = ""
var j=0, k, n;
if ((form.to.value == "0") ||
(form.to.value.length < 3))
{
alert("Destination address should be
at least 3 characters long");
return false;
}
else
if (((form.sbj.value == "0") ||
(form.sbj.value.length <= 0)) &&
((form.text.value == "0") ||
(form.text.value.length <= 0)))
{
alert("Subject and Body both should
not be blank");
return false;
}
<!--IMAIL.AttachValidation-->
form.button.value="send";
form.submit();
return true;
}
==============================================================
At the bottom of the function just prior to submitting the form, append your
trailer message... The new function looks like this...
==============================================================
function valsb(form)
{
var address = "";
var sendto = ""
var sendcc = ""
var sendbcc = ""
var j=0, k, n;
if ((form.to.value == "0") ||
(form.to.value.length < 3))
{
alert("Destination address should be
at least 3 characters long");
return false;
}
else
if (((form.sbj.value == "0") ||
(form.sbj.value.length <= 0)) &&
((form.text.value == "0") ||
(form.text.value.length <= 0)))
{
alert("Subject and Body both should
not be blank");
return false;
}
<!--IMAIL.AttachValidation-->
form.text.value=form.text.value+"\r\n\r\n\r\n_________________________________________________________\r\nGet
you
r
own FREE FishingLife.com Email account
at...\r\nhttp://www.fishinglife.com\r\n\r\nFishingLife.com - Your source for
fishing news and fishing tackle\r\n\"The best thing to happen to fishing
since the invention of the
hook.\"\r\n_________________________________________________________\r\n\r\n
"
form.button.value="send";
form.submit();
return true;
}
==============================================================
This isn't the best solution but it does work for web messaging..
Any other "hacks" to solve this would be appreciated..
Mike Murdock
FishingLife.com
-----
Original Message -----
From:
Grant Griffith <[EMAIL PROTECTED]>
To:
<[EMAIL PROTECTED]>
Sent:
Tuesday, November 30, 1999 3:33 PM
Subject:
Re: [IMail Forum] Trailer.txt problem
>
Mike,
>
> I think you are SOL at this time! I have tried a couple
of things with no success. I know this has been discussed here before and
I have not seen a way around it.
>
> Grant Griffith
> http://www.getafreewebsite.com
>
> ---------- Original Message ----------------------------------
> From: "Michael B. Murdock" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 30 Nov 1999 14:46:14 -0500
>
> >In testing the ability to add a trailer to the end of every email sent
I
> >have run into a serious Imail limitation and am wondering if anyone
has a
> >work around.
> >
> >For the trailer.txt to work it must be in the \imail directory, and
its
> >contents are appended to every mail message sent for ALL domains...
This
> >makes the trailer.txt feature unusable for anyone hosting multiple
domains.
> >What I need is the ability to append a trailer to email for a specific
> >domain.
> >
> >Anyone have any tips on how to get this to work or am I SOL.
> >
> >Mike
> >
> >
> >Please visit http://www.ipswitch.com/support/mailing-lists.html
> >to be removed from this list.
> >
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>