[Building Sakai] smtpFrom at org.sakaiproject.email.api.EmailService property

Paul Lukasewych plukasew at uwo.ca
Fri Mar 27 06:19:39 PDT 2015


+1

We have run into this at our institution as well. A single from address 
controlled via a property should be used in all cases.

Paul Lukasewych
Applications Development Team
Information Technology Services
Support Services Building
Western University
(519) 661-2111 x80513
plukasew at uwo.ca

On 2015-03-27 07:40 AM, Miguel Carro Pellicer wrote:
> Hi subscribers,
>
> I want to ask something about the
> "smtpFrom at org.sakaiproject.email.api.EmailService" property, this is a property
> to set the "from" address of outgoing emails.
>
> I noticed a lot of Sakai logic does not use this property, uses code like:
>
> String userEmail = "no-reply@" + ServerConfigurationService.getServerName();
>
> or
>
> return "From: " + "\"" + m_serverConfigurationService.getString("ui.service",
> "Sakai") + "\"<no-reply@"+ m_serverConfigurationService.getServerName() + ">";
>
> This works fine when you have the no-reply at XXX account in your institution, but
> doesn't work properly when you have another address.
>
> IMHO Sakai should use the smtpFrom property and use this logic as a fallback, i
> created some Jiras but i don't know if the community thinks the same.
>
> https://jira.sakaiproject.org/browse/SAK-29204
> https://jira.sakaiproject.org/browse/SAK-29143
> https://jira.sakaiproject.org/browse/SAK-29209
>
> ... and many many tools like Samigo, Assessments, Announcements... if i create
> the no-reply at XXXX account at my institution i will finish earlier :D
>
> If my approach is correct i can continue creating Jiras, testing and creating
> pull requests about this.
>
> Thanks in advance, Miguel
> --
> Miguel Carro Pellicer
> Logo 	
>
> Miguel Carro Pellicer<http://es.linkedin.com/pub/miguel-carro-pellicer/38/502/b92>
> /CTO Entornos de Formación S.L./
>
> Phone: +34 - 686266485
> Email: mcarro at entornosdeformacion.com <mailto:mcarro at entornosdeformacion.com>
>
> No me imprimas si no es necesario. Protejamos el medio ambiente
>
>
> AVISO LEGAL: El contenido de este mensaje de correo electrónico, incluidos los
> ficheros adjuntos, es confidencial y está protegido por el artículo 18.3 de la
> Constitución Española, que garantiza el secreto de las comunicaciones.
> Si usted recibe este mensaje por error, por favor póngase en contacto con el
> remitente para informarle de este hecho, y no difunda su contenido ni haga copias.
> *** Este mensaje ha sido verificado con herramientas de eliminación de virus y
> contenido malicioso ***
> Este aviso legal ha sido incorporado automáticamente al mensaje.
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>


More information about the sakai-dev mailing list