public void Setup() { sender = new SenderWeb(); //load setting account of emailbox string json = File.ReadAllText("testSettings.json"); account = JsonSerializer.Deserialize <ServerAccount>(json); }
public SenderWebService(MainAccount account) { _account = account; _sender = new SenderWeb(); }