public SendEmailSMTP(string serviceAddress, string user, string password) { this.ServiceAddress = serviceAddress; this.User = user; this.Password = password; try { this._MsgDelaySender = new ServiceManage.SendDelayMessage.wsMsgSending(); this._MsgDelaySender.Url = ConfigurationSettings.AppSettings["MsgDelaySenderWebService"]; } catch (Exception ex) { } }
public SendEmailSMTP(string serviceAddress, string user, string password) { this.ServiceAddress = serviceAddress; this.User = user; this.Password = password; try { this._MsgDelaySender = new ServiceManage.SendDelayMessage.wsMsgSending(); this._MsgDelaySender.Url = ConfigurationSettings.AppSettings["MsgDelaySenderWebService"]; } catch (Exception ex) { } }
public SendMessage(string userID, string passWord) { this.UserID = userID; this.PassWord = passWord; try { this._sendClient = new ServiceManage.SendMessagesService.hsyzSoapClient(); this.SMSBodyMaxLenght = Convert.ToInt32(ConfigurationSettings.AppSettings["SendMessageBodyMaxLenght"].Trim()); this._MsgDelaySender = new ServiceManage.SendDelayMessage.wsMsgSending(); this._MsgDelaySender.Url = ConfigurationSettings.AppSettings["MsgDelaySenderWebService"]; } catch (Exception Ex) { } }
public SendMessage(string userID, string passWord) { this.UserID = userID; this.PassWord = passWord; try { this._sendClient = new ServiceManage.SendMessagesService.hsyzSoapClient(); this.SMSBodyMaxLenght = Convert.ToInt32(ConfigurationSettings.AppSettings["SendMessageBodyMaxLenght"].Trim()); this._MsgDelaySender = new ServiceManage.SendDelayMessage.wsMsgSending(); this._MsgDelaySender.Url = ConfigurationSettings.AppSettings["MsgDelaySenderWebService"]; } catch (Exception Ex) { } }