Skip to content

Commit

Permalink
Use secure email protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Zak authored and ThePrez committed Jul 18, 2024
1 parent da9fdbb commit 8ade833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public synchronized Map<String, ManzanRoute> getRoutes(CamelContext context) {
final int port = getRequiredInt(name, "port");
ret.put(name, new FluentDDestination(name, tag, host, port));
break;
case "smtp":
case "smtps":
final String server = getRequiredString(name, "server");
final EmailDestination d = new EmailDestination(name, server, format, getUriAndHeaderParameters(name, sectionObj, "server"), null);
ret.put(name, d);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public class EmailDestination extends ManzanGenericCamelRoute {

public EmailDestination(final String _name, final String _smtpServer, final String _format, final Map<String, String> _uriParams, final Map<String, Object> _headerParams) {
super(_name, "smtp", _smtpServer, _format, _uriParams, _headerParams);
super(_name, "smtps", _smtpServer, _format, _uriParams, _headerParams);
}

@Override
Expand Down

0 comments on commit 8ade833

Please sign in to comment.