[MGNLMAIL-93] Email can not be sent when content is a page Created: 21/Nov/17 Updated: 21/Mar/19 Resolved: 13/Mar/19 |
|
| Status: | Closed |
| Project: | Magnolia Mail Module |
| Component/s: | None |
| Affects Version/s: | 5.4.2, 5.5, 5.5.1 |
| Fix Version/s: | 5.5.2 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | Viet Nguyen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 4d 6.75h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Support | ||||||||||||||||
| Sprint: | Features 6, Features 7 | ||||||||||||||||
| Story Points: | 1 | ||||||||||||||||
| Description |
|
When info.magnolia.module.mail.templates.impl.MgnlPageEmail is used (because a page is sent in an email) an exception is thrown: Caused by: org.apache.http.ProtocolException: Target host is not specified at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:70) at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:124) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:183) ... 148 more because when client.execute(authpost) is executed, authpost has set a relative path and it is not possible to determine the host-port-protocol for the request. |
| Comments |
| Comment by Viet Nguyen [ 10/Aug/18 ] |
|
Tested and mail could be sent for this kind of mail after fixing. |
| Comment by Quach Hao Thien [ 07/Mar/19 ] |
|
Problem: Exception while sending confirm email with page as content Steps:
Stacktrace is included stackTrace.log
|