| Summary: | [user] Communicate with user using email | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Component: | Server | Assignee: | 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
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.
(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 |