[Building Sakai] Outgoing email exception at BasicEmailService (sakai 2.8.1)

Seth Theriault slt at columbia.edu
Wed Feb 29 15:44:26 PST 2012


Hello,

[adding back the sakai-dev list to keep everyone in the loop.]

Is it possible that the "+" in the smtpUser setting needs to 
be escaped?

Seth


Arun Jain wrote:

> Thanks for your response
> 
> here is my sakai.properties
> ======================
> #Default=false.
> smtp.enabled=false
> 
> # SMTP server for outgoing emails.
> smtp at org.sakaiproject.email.api.EmailService=mail.darsanagroup.com
> 
> #SMTP port to connect to outgoing SMTP Server
> #Default: 25
> #smtpPort at org.sakaiproject.email.api.EmailService=25
> 
> #UserName to connect to SMTP server (Optional)
> smtpUser at org.sakaiproject.email.api.EmailService=arun+darsanagroup.com 
> 
> #Password for connection to SMTP server (Optional)
> smtpPassword at org.sakaiproject.email.api.EmailService=xxxxxx
> 
> #Use SSL/TLS to connect to the SMPT server 
> #default: false
> #smtpUseSSL at org.sakaiproject.email.api.EmailService=false 
> 
> #Run in test mode - email will be written to the log rather sent
> #default: false
> #smtpDebug at org.sakaiproject.email.api.EmailService=false
> ======================
> Thanks,
> 
> Arun Jain
> 
> Tel: 612-419-5938
> 
> --- On Wed, 2/29/12, Seth Theriault <slt at columbia.edu> wrote:
> 
> From: Seth Theriault <slt at columbia.edu>
> Subject: Re: [Building Sakai] Outgoing email exception at BasicEmailService (sakai 2.8.1)
> To: "Arun Jain" <arunjain312 at yahoo.com>
> Cc: sakai-dev at collab.sakaiproject.org
> Date: Wednesday, February 29, 2012, 4:46 PM
> 
> Arun Jain wrote:
> 
> > 4) While trying to add participant, getting an exception at 
> > BasicEamilService file .... 2012-02-29 15:40:27,612 WARN 
> > http-8080-5 org.sakaiproject.email.impl.BasicEmailService - 
> > Email.sendMail: exception: 535 Incorrect authentication data
> 
> The 535 is an error from yoru SMTP server.
> 
> Can you forward along your sakai.properties settings, but not 
> the passwords? 
> 
> In addition, can you raise some log levels to DEBUG with 
> these sakai.properties settings:
> 
> # logging stuff
> enabled at org.sakaiproject.log.api.LogConfigurationManager=true
> log.config.count=3
> log.config.1 = DEBUG.org.sakaiproject.email.impl.BasicEmailService
> log.config.2 = DEBUG.com.sun.mail.smtp
> log.config.3 = DEBUG.javax.mail.Service
> 
> and then forward anything relevant?
> 
> Seth
> 
> 


More information about the sakai-dev mailing list