Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static EmailConfig LoadData()
- {
- // TODO to jest tymczasowa metoda
- var config = new EmailConfig();
- config.SendEmails = true;
- config.Host = "smtp.comarch.com";
- config.SenderName = "pawel.fatyga@stazysta.comarch.pl";
- config.SenderAddress = "pawel.fatyga@stazysta.comarch.pl";
- config.User = "pawel.fatyga@stazysta.comarch.pl";
- string pass = "#@#@#@#@@#@#@";
- config.Password = pass.ToSecureString();
- config.LanguageCode = "pl-PL";
- config.Port = 25;
- config.SendingOptions = 0;
- config.UseSSL = false;
- config.Recipients.Add("pawel.fatyga@stazysta.comarch.pl");
- return config;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement