Skip to content

Commit

Permalink
SAK-32068 also split the from address to strip BATV (sakaiproject#3770)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored and buckett committed Jan 26, 2017
1 parent 7494402 commit 8430b88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public MessageHandler create(MessageContext ctx) {

@Override
public void from(String from) throws RejectException {
this.from = from;
SplitEmailAddress address = SplitEmailAddress.parse(from);
this.from = address.getLocal() + "@" + address.getDomain();
}

@Override
Expand Down

0 comments on commit 8430b88

Please sign in to comment.