Enric, Can you share your Global Settings that relate to the SMTP configuration for Projects? Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbottom@shapeblue.com -----Original Message----- From: Enric Muņoz [mailto:emunoz@intecom.ad] Sent: 10 July 2013 12:51 To: users@cloudstack.apache.org Subject: Project invitations and alerts by e-mail Hi all, I configured all the global settings in Cloudstack 4.1 to be able to receive project invitations and alerts by e-mail but i don't receive any e-mail. At the managementServer.log the following appears when trying to send a project invitation: 2013-07-10 13:44:53,449 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 1-982778062: Received: { Ans: , MgmtId: 74152552693, via: 1, Ver: v1, Flags: 10, $ 2013-07-10 13:44:58,394 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START=== 192.168.11.1 -- GET command=addAccountToProject&response=json&sessionkey=H1Z$ 2013-07-10 13:44:58,431 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-8:null) submit async job-82, details: AsyncJobVO {id:82, userId: 2, accountId: 2, sessi$ 2013-07-10 13:44:58,434 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-3:job-82) Executing org.apache.cloudstack.api.command.user.account.AddAccountToProjectCm$ 2013-07-10 13:44:58,438 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END=== 192.168.11.1 -- GET command=addAccountToProject&response=json&sessionkey=H1ZJk$ 2013-07-10 13:44:58,538 WARN [cloud.projects.ProjectManagerImpl] (Job-Executor-3:job-82) Failed to send project id=Project[1|name=test|domainid=2] invitation to the $ javax.mail.MessagingException: Exception reading response (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:251) at javax.mail.Service.connect(Service.java:91) at javax.mail.Service.connect(Service.java:76) at com.cloud.projects.ProjectManagerImpl$EmailInvite.sendInvite(ProjectManagerImpl.java:959) at com.cloud.projects.ProjectManagerImpl.generateTokenBasedInvitation(ProjectManagerImpl.java:682) at com.cloud.projects.ProjectManagerImpl.inviteAccountToProject(ProjectManagerImpl.java:572) at com.cloud.projects.ProjectManagerImpl.addAccountToProject(ProjectManagerImpl.java:545) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd.execute(AddAccountToProjectCmd.java:89) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:672) at sun.security.ssl.InputRecord.read(InputRecord.java:504) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:850) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1175) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:805) at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) ... 23 more 2013-07-10 13:44:58,544 WARN [cloud.projects.ProjectManagerImpl] (Job-Executor-3:job-82) Failed to generate invitation for email emunoz@intecom.ad to project id=Proj$ 2013-07-10 13:44:58,552 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-3:job-82) Complete async job-82, jobStatus: 2, resultCode: 530, result: Error Code: 530 $ 2013-07-10 13:45:01,957 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===START=== 192.168.11.1 -- GET command=queryAsyncJobResult&jobId=0f3730ea-e19f-4c91-a0d$ 2013-07-10 13:45:01,981 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-9:null) Async job-82 completed Any idea of how to solve this problema?? Thanks, Enric Muņoz - INTECOM E-mail: emunoz@intecom.ad Tel: (+376) 870100 Ctra. de la Comella 23 AD500 Andorra la Vella Principat d'Andorra This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.