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

Miguel Carro Pellicer mcarro at entornosdeformacion.com
Fri Mar 27 04:40:40 PDT 2015


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150327/07e8601a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: entornos_logo.jpg
Type: image/jpeg
Size: 8726 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150327/07e8601a/attachment.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.jpg
Type: image/jpeg
Size: 1103 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150327/07e8601a/attachment-0001.jpg 


More information about the sakai-dev mailing list