Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357787

Summary: [user] Communicate with user using email
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ServerAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: john.arthorne, Szymon.Brandys, tomasz.zarna
Version: 0.2   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 347066, 368273, 368623    

Description Malgorzata Janczarska CLA 2011-09-15 08:33:10 EDT
Currently we don't store user email. It would be needed for some communication with a user, for instance password reset (bug 347066). What we should do is allow user to input email address while registering to Orion (on the create user section) and confirm user email. When email is confirmed we can send emails to it when necessary.
Comment 1 Malgorzata Janczarska CLA 2012-01-03 11:51:06 EST
I added a possibility to add email to your profile. On email change confirmation is send to given mail address and user needs to click a generated link to confirm the email address.
I had to add javax.mail.glassfish to our dependencies.

John, I suppose you are to "go to" person in terms of server configuration. In order to make it work some preferences need to be configured, from web-ide.conf:
#uncomment this lines to configure smtp host for sending mail
#mail.smtp.host={smtp_host}
#mail.smtp.port=25
#mail.smtp.user={smtp_user}
#mail.smtp.password={password}
#mail.smtp.auth=true
#mail.from={sender_of_mails}

If configuration is not made Orion will try to send an email using localhost as SMTP server (or take if from system properties) with no authentication and some sample address. I don't think this could succeed on our servers. All apart from "mail.from" are smtp properties. "mail.from" is an email address that will be set as a sender of the message.
Comment 2 Tomasz Zarna CLA 2012-01-04 05:23:13 EST
(In reply to comment #1)
> I had to add javax.mail.glassfish to our dependencies.

This broke the latest build: http://dev.eclipse.org/mhonarc/lists/orion-releng/msg00361.html