Re: [Koha-devel] new module to send mails
Dear Miguel, At 17.15 08/03/2010, Miguel Angel Calvo Lázaro wrote:
We have commited a new module C4::Mail to send emails with Mail::Sender. Those emails can be sent in html format. We provide a new html editor to edit the letters. In this new editor now we use a new marks to delimit the fields that will be included in the letter. Instead of <<>> we now use [], because the first ones have conflicts with html editors.
i think is a good develop. I underline the option of use external SMTP server. Now you need an SMTP on your localhost, as I know. I suggest: -- Translate all comments in english -- Send patch to install the new module with apt-get (I think that the package is libmail-sender-perl) -- See all the place where Mail::Sendmail is used and use instead Mail::Sender or C4::Mail. It is a problem to have 2 perl modules on the same topic. Bye Zeno Tajoli Zeno Tajoli CILEA - Segrate (MI) tajoliAT_SPAM_no_prendiATcilea.it (Indirizzo mascherato anti-spam; sostituisci quanto tra AT con @)
2010/3/26 Zeno Tajoli <tajoli@cilea.it>
Dear Miguel,
At 17.15 08/03/2010, Miguel Angel Calvo Lázaro wrote:
We have commited a new module C4::Mail to send emails with Mail::Sender. Those emails can be sent in html format. We provide a new html editor to edit the letters. In this new editor now we use a new marks to delimit the fields that will be included in the letter. Instead of <<>> we now use [], because the first ones have conflicts with html editors.
i think is a good develop. I underline the option of use external SMTP server. Now you need an SMTP on your localhost, as I know.
I suggest: -- Translate all comments in english
I will translate this in english.
-- Send patch to install the new module with apt-get (I think that the package is libmail-sender-perl)
Ok, when i have time, i'll do this, and commit it to github.
-- See all the place where Mail::Sendmail is used and use instead Mail::Sender or C4::Mail.
All places where it is used are listed with git log in github.
It is a problem to have 2 perl modules on the same topic.
Yes, i'm agree. But i do not decide what module will be used to send mails. In my koha installs i use mine.
Bye Zeno Tajoli
Zeno Tajoli CILEA - Segrate (MI) tajoliAT_SPAM_no_prendiATcilea.it (Indirizzo mascherato anti-spam; sostituisci quanto tra AT con @)
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
On Mon, 2010-03-29 at 11:52 +0200, Juan Romay wrote:
2010/3/26 Zeno Tajoli <tajoli@cilea.it> Dear Miguel,
At 17.15 08/03/2010, Miguel Angel Calvo Lázaro wrote:
[snip]
-- See all the place where Mail::Sendmail is used and use instead Mail::Sender or C4::Mail. All places where it is used are listed with git log in github.
It is a problem to have 2 perl modules on the same topic. Yes, i'm agree. But i do not decide what module will be used to send mails. In my koha installs i use mine.
I also agree that it would be better to have only 1 perl module for this topic (sending emails). I guess we should call a vote. Then we'll just have to volunteer someone to change the code ;) I don't have a preference either way. However it seems that being able use an external SMTP server is a big deal. So I will start by voting for Mail::Sender and C4::Mail -- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha
Spanish to English translation commited to github at http://github.com/xercode/koha. greetings, Juan Romay 2010/3/29 Michael Hafen <mdhafen@tech.washk12.org>
On Mon, 2010-03-29 at 11:52 +0200, Juan Romay wrote:
2010/3/26 Zeno Tajoli <tajoli@cilea.it> Dear Miguel,
At 17.15 08/03/2010, Miguel Angel Calvo Lázaro wrote:
[snip]
-- See all the place where Mail::Sendmail is used and use instead Mail::Sender or C4::Mail. All places where it is used are listed with git log in github.
It is a problem to have 2 perl modules on the same topic. Yes, i'm agree. But i do not decide what module will be used to send mails. In my koha installs i use mine.
I also agree that it would be better to have only 1 perl module for this topic (sending emails). I guess we should call a vote. Then we'll just have to volunteer someone to change the code ;)
I don't have a preference either way. However it seems that being able use an external SMTP server is a big deal. So I will start by voting for Mail::Sender and C4::Mail
-- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA
for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha
Michael Hafen <mdhafen@tech.washk12.org>
I don't have a preference either way. However it seems that being able use an external SMTP server is a big deal. So I will start by voting for Mail::Sender and C4::Mail
Using an external SMTP server is a big thing. It requires a lot of extra error handling to avoid losing mail, because SMTP servers need not accept email when koha wants to send it. A local sendmail is safer in that way. How does this C4::Mail handle getting 4xx or 5xx replies? Thanks, -- MJ Ray (slef) Webmaster and LMS developer at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op
participants (5)
-
Juan Romay -
Juan Sieira -
Michael Hafen -
MJ Ray -
Zeno Tajoli