List Info

Thread: norwegian alphabet in reminder.tpl




norwegian alphabet in reminder.tpl
country flaguser name
Norway
2008-01-04 04:06:17

Hi all,

 

I modified /var/maia/templates/reminder.tpl and added Norwegian text. The language uses signs like æ, ø, å, Æ, Ø and Å. These signs are coming out wrong when the email is received in the e-mail client.

 

The OS is Centos 4.0 and has otherwise no problems with these signs. Postfix is dealing with them, as well as Maia/Spamassassin in general. All e-mails are ok. Only the reminder.tpl is not being send as it should. Any suggestions in how to fix this?

 

Also, is it possible to send a html based e-mail? I tried with adding <html&gt; and <body&gt; tags but this doesn̵7;t work. Email shows like text based e-mail.

 

Best regards,

 

Harry M. Aasterud

Aasterud WebCom

Re: norwegian alphabet in reminder.tpl
country flaguser name
Norway
2008-01-04 04:26:33
Harry M. Aasterud wrote:
>
> Hi all,
>
> I modified /var/maia/templates/reminder.tpl and added
Norwegian text. 
> The language uses signs like æ, ø, å, Æ, Ø and Å. These
signs are 
> coming out wrong when the email is received in the
e-mail client.
>
> The OS is Centos 4.0 and has otherwise no problems with
these signs. 
> Postfix is dealing with them, as well as
Maia/Spamassassin in general. 
> All e-mails are ok. Only the reminder.tpl is not being
send as it 
> should. Any suggestions in how to fix this?
>
> Also, is it possible to send a html based e-mail? I
tried with adding 
> <html> and <body> tags but this doesn’t
work. Email shows like text 
> based e-mail.
>

We got Norwegian characters in our reminder.tpl and it's
working great - 
so I guess the system is fully capable to deal with it. Make
sure that 
the file is written in the same codeset as your system is.
E.g that it's 
not written on a UTF-8 system and then upload to a ISO-8859
one (and 
vice versa)

About HTML I don't know, maybe someone else got an answer to
that question.

-- 
Erik Weber
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: norwegian alphabet in reminder.tpl
country flaguser name
Netherlands
2008-01-04 05:23:22
The scripts that do the sending of the template files use
Net::SMTP this class doesn't have its own functions for
sending HTML mails, it does however allow building a raw
message body in multipart. At the moment maia cannot send
HTML mails, but maybe in the future the developers can/will
make it send multipart with 2 templates, 1 for plain text
and 1 for html.

Rgds,

Michiel

-----Oorspronkelijk bericht-----
Van: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] Namens Erik
Weber
Verzonden: vrijdag 4 januari 2008 11:27
Aan: Harry M. Aasterud
CC: Maia-usersrenaissoft.com
Onderwerp: Re: [Maia-users] norwegian alphabet in
reminder.tpl

Harry M. Aasterud wrote:
>
> Hi all,
>
> I modified /var/maia/templates/reminder.tpl and added
Norwegian text. 
> The language uses signs like æ, ø, å, Æ, Ø and Å. These
signs are 
> coming out wrong when the email is received in the
e-mail client.
>
> The OS is Centos 4.0 and has otherwise no problems with
these signs. 
> Postfix is dealing with them, as well as
Maia/Spamassassin in general. 
> All e-mails are ok. Only the reminder.tpl is not being
send as it 
> should. Any suggestions in how to fix this?
>
> Also, is it possible to send a html based e-mail? I
tried with adding 
> <html> and <body> tags but this doesn't
work. Email shows like text 
> based e-mail.
>

We got Norwegian characters in our reminder.tpl and it's
working great - 
so I guess the system is fully capable to deal with it. Make
sure that 
the file is written in the same codeset as your system is.
E.g that it's 
not written on a UTF-8 system and then upload to a ISO-8859
one (and 
vice versa)

About HTML I don't know, maybe someone else got an answer to
that question.

-- 
Erik Weber
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
De informatie verzonden in dit e-mailbericht is
vertrouwelijk en is uitsluitend bestemd voor de
geadresseerde. Openbaarmaking, vermenigvuldiging,
verspreiding en/of verstrekking van deze informatie aan
derden is, behoudens voorafgaande schriftelijke toestemming
van Mooy Logistics, niet toegestaan. Mooy Logistics staat
niet in voor de juiste en volledige overbrenging van de
inhoud van een verzonden e-mailbericht, noch voor tijdige
ontvangst daarvan. Mooy Logistics kan niet garanderen dat
een verzonden e-mailbericht vrij is van virussen, noch dat
e-mailberichten
worden overgebracht zonder inbreuk of tussenkomst van
onbevoegde derden.
Indien het e-mailbericht niet aan u is gericht, verzoeken
wij u vriendelijk doch dringend het e-mailbericht te
retourneren aan de verzender en het origineel en eventuele
kopieën te verwijderen en te vernietigen.
------------------------------------------------
The information contained in this communication is
confidential and is intended solely for the use of the
individual or entity to whom it is addressed. You should not
copy, disclose or distribute this communication without the
authority of Mooy Logistics. Mooy Logistics is neither
liable for
the proper and complete transmission of the information
contained in this communication nor for any delay in its
receipt. Mooy Logistics does not guarantee that the
integrity of this communication has been maintained nor that
the communication is free of viruses, interceptions or
interference.
If you are not the intended recipient of this communication
please return the communication to the sender and delete and
destroy all copies.

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

norwegian alphabet in reminder.tpl
country flaguser name
Norway
2008-01-04 06:00:14
Ok, Thanks for the comments. I created the tpl in Windows
notepad. Saves as
UTF-8. Maybe that is the problem. Is there a way I can do a
test and have
the script generate 1 email only to my address. Like for
example command
line style? This for testing and to avoid that all users get
garbage emails?

Regards,

Harry M. Aasterud
Aasterud WebCom


-----Original Message-----
From: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Michiel van den Berg
Sent: 4. januar 2008 12:23
To: Maia
Subject: Re: [Maia-users] norwegian alphabet in
reminder.tpl

The scripts that do the sending of the template files use
Net::SMTP this
class doesn't have its own functions for sending HTML mails,
it does however
allow building a raw message body in multipart. At the
moment maia cannot
send HTML mails, but maybe in the future the developers
can/will make it
send multipart with 2 templates, 1 for plain text and 1 for
html.

Rgds,

Michiel

-----Oorspronkelijk bericht-----
Van: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] Namens Erik
Weber
Verzonden: vrijdag 4 januari 2008 11:27
Aan: Harry M. Aasterud
CC: Maia-usersrenaissoft.com
Onderwerp: Re: [Maia-users] norwegian alphabet in
reminder.tpl

Harry M. Aasterud wrote:
>
> Hi all,
>
> I modified /var/maia/templates/reminder.tpl and added
Norwegian text. 
> The language uses signs like æ, ø, å, Æ, Ø and Å. These
signs are 
> coming out wrong when the email is received in the
e-mail client.
>
> The OS is Centos 4.0 and has otherwise no problems with
these signs. 
> Postfix is dealing with them, as well as
Maia/Spamassassin in general. 
> All e-mails are ok. Only the reminder.tpl is not being
send as it 
> should. Any suggestions in how to fix this?
>
> Also, is it possible to send a html based e-mail? I
tried with adding 
> <html> and <body> tags but this doesn't
work. Email shows like text 
> based e-mail.
>

We got Norwegian characters in our reminder.tpl and it's
working great - 
so I guess the system is fully capable to deal with it. Make
sure that 
the file is written in the same codeset as your system is.
E.g that it's 
not written on a UTF-8 system and then upload to a ISO-8859
one (and 
vice versa)

About HTML I don't know, maybe someone else got an answer to
that question.

-- 
Erik Weber
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
De informatie verzonden in dit e-mailbericht is
vertrouwelijk en is
uitsluitend bestemd voor de geadresseerde. Openbaarmaking,
vermenigvuldiging, verspreiding en/of verstrekking van deze
informatie aan
derden is, behoudens voorafgaande schriftelijke toestemming
van Mooy
Logistics, niet toegestaan. Mooy Logistics staat niet in
voor de juiste en
volledige overbrenging van de inhoud van een verzonden
e-mailbericht, noch
voor tijdige ontvangst daarvan. Mooy Logistics kan niet
garanderen dat een
verzonden e-mailbericht vrij is van virussen, noch dat
e-mailberichten
worden overgebracht zonder inbreuk of tussenkomst van
onbevoegde derden.
Indien het e-mailbericht niet aan u is gericht, verzoeken
wij u vriendelijk
doch dringend het e-mailbericht te retourneren aan de
verzender en het
origineel en eventuele kopieën te verwijderen en te
vernietigen.
------------------------------------------------
The information contained in this communication is
confidential and is
intended solely for the use of the individual or entity to
whom it is
addressed. You should not copy, disclose or distribute this
communication
without the authority of Mooy Logistics. Mooy Logistics is
neither liable
for
the proper and complete transmission of the information
contained in this
communication nor for any delay in its receipt. Mooy
Logistics does not
guarantee that the integrity of this communication has been
maintained nor
that the communication is free of viruses, interceptions or
interference.
If you are not the intended recipient of this communication
please return
the communication to the sender and delete and destroy all
copies.

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: norwegian alphabet in reminder.tpl
country flaguser name
United States
2008-01-04 09:25:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 4, 2008, at 4:26 AM, Erik Weber wrote:
>
> About HTML I don't know, maybe someone else got an
answer to that  
> question.
>


Well, you can put the entire multipart message in the
template...

Send yourself an html message, and then look at the raw form
- you'll  
see the mime multipart headers.

David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHfk/8Uy30ODPkzl0RAp4UAKCwcr/5IyNlVHWr4Od6AWOv2WcRzQCf
R1u7
8EBaeTkfnWaDLEwzo+vTOGc=
=d984
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: norwegian alphabet in reminder.tpl
country flaguser name
Norway
2008-01-05 14:38:44
Thanks, this could work. I found that the digest.tpl
contains this header:

To: [% recipient %]
From: Maia Admin <[% admin_email %]>
Reply-To: Maia Admin<[% admin_email %]>
Subject: Maia Quarantine Digest
MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

So, it looks like I can choose from text/plain, text/html,
or multipart if
desired. I'll do a test with the next cron at midnight.
Let's see how things
look like with text/pain and charset=utf-8. I'll come with
feedback.

I also activated the digest by email function. I'll start
with cron.hourly.
I think this will be a welcome add-on so that people can
control this from
their e-mail client without having to log in to Maia. 

Best regards,

Harry M. Aasterud
Aasterud WebCom

-----Original Message-----
From: David Morton [mailto:mortondadgrmm.net] 
Sent: 4. januar 2008 16:26
To: Erik Weber
Cc: Harry M. Aasterud; Maia-usersrenaissoft.com
Subject: Re: [Maia-users] norwegian alphabet in
reminder.tpl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 4, 2008, at 4:26 AM, Erik Weber wrote:
>
> About HTML I don't know, maybe someone else got an
answer to that  
> question.
>


Well, you can put the entire multipart message in the
template...

Send yourself an html message, and then look at the raw form
- you'll  
see the mime multipart headers.

David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHfk/8Uy30ODPkzl0RAp4UAKCwcr/5IyNlVHWr4Od6AWOv2WcRzQCf
R1u7
8EBaeTkfnWaDLEwzo+vTOGc=
=d984
-----END PGP SIGNATURE-----

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: norwegian alphabet in reminder.tpl
country flaguser name
Norway
2008-01-07 02:06:57
Hi,

Just to let you know that adding Content-Type: text/plain;
charset="ISO-8859-1" just below the subject did
the trick for the text based
e-mails. Thank you for the tip.

I have one problem left in regard to the digest template. I
added
send-quarantine-digests.pl in the /etc/cron.hourly. The
default template
digest.tpl is in the /var/maia/templates directory. But I am
not getting any
emails. Why is that?

Best regards,

Harry M. Aasterud
Aasterud WebCom

-----Original Message-----
From: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Harry M. Aasterud
Sent: 5. januar 2008 21:39
To: Maia-usersrenaissoft.com
Subject: Re: [Maia-users] norwegian alphabet in
reminder.tpl

Thanks, this could work. I found that the digest.tpl
contains this header:

To: [% recipient %]
From: Maia Admin <[% admin_email %]>
Reply-To: Maia Admin<[% admin_email %]>
Subject: Maia Quarantine Digest
MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

So, it looks like I can choose from text/plain, text/html,
or multipart if
desired. I'll do a test with the next cron at midnight.
Let's see how things
look like with text/pain and charset=utf-8. I'll come with
feedback.

I also activated the digest by email function. I'll start
with cron.hourly.
I think this will be a welcome add-on so that people can
control this from
their e-mail client without having to log in to Maia. 

Best regards,

Harry M. Aasterud
Aasterud WebCom

-----Original Message-----
From: David Morton [mailto:mortondadgrmm.net] 
Sent: 4. januar 2008 16:26
To: Erik Weber
Cc: Harry M. Aasterud; Maia-usersrenaissoft.com
Subject: Re: [Maia-users] norwegian alphabet in
reminder.tpl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jan 4, 2008, at 4:26 AM, Erik Weber wrote:
>
> About HTML I don't know, maybe someone else got an
answer to that  
> question.
>


Well, you can put the entire multipart message in the
template...

Send yourself an html message, and then look at the raw form
- you'll  
see the mime multipart headers.

David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHfk/8Uy30ODPkzl0RAp4UAKCwcr/5IyNlVHWr4Od6AWOv2WcRzQCf
R1u7
8EBaeTkfnWaDLEwzo+vTOGc=
=d984
-----END PGP SIGNATURE-----

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )