You can also do it without ron's templates (but his 'classic templates are so cheap
and nice why bother doing it on your own)
The below worked before I moved to ron's templates and I am not sure what the html is
like in the current web pages supplied by ipswitch but this should give you some idea.
This was the email I used to change mine - I think Ron does a simlar method but
encapsulates it in a js file.
Chet
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;
}
==============================================================
---------- Original Message ----------------------------------
From: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 19 Dec 2000 18:16:48 -0600
>> Has anybody come across a way to insert footers, similar to hotmails "Get
>> your free...", at the bottom of all mail?
>
>See http://support.ipswitch.com/kb/IM-19990601-DM02.htm for the Ipswitch
>method of using the trailer.txt file. Note that it is server-wide and only
>applies to plain-text messages sent to address outside your server.
>
>Our Killer templates (link below) have a domain-specific trailer message you
>can configure, but it only affects messages sent via the web interface.
>
>Hope this helps,
>Ron
>
>ron allen hornbaker humankind systems, inc. mailto:[EMAIL PROTECTED]
>HKSI WebMail Templates for IMail v6x ~ Now 901 Installations Worldwide
>Classic... http://mail.hksi.net Killer... http://killerwebmail.com
>
>
>
>
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/