Permalink
Browse files

[fix] libnet: Fixed problem with smtpServer options.

  • Loading branch information...
1 parent 27dd909 commit d6dede84c728f31b1a7050ff11a30e0994f7f8df @nrs135 nrs135 committed Sep 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 libnet/smtpServer.ml
View
@@ -155,8 +155,8 @@ let make (_name:string) (opt:options) (_sched:Scheduler.t) : t =
rt_payload = ();
};
} in
- let state = { SCC.server_domain = "smtp.localhost.local";
- server_port = 2525;
+ let state = { SCC.server_domain = opt.opt_addr;
+ server_port = opt.opt_port;
hello_message = "";
client_domain = "";
callback = opt.opt_email_handler;

0 comments on commit d6dede8

Please sign in to comment.