>> this.parent.oleMmess.RecipIndex = this.parent.oleMmess.RecipCount >> && this.parent.oleMmess.RecipDisplayName = ReceiverName && or if this fails : ReceiverEmailAddress this.parent.oleMmess.RecipDisplayName = ReceiverEmailAddress this.parent.OleMMess.RecipAddress = ReceiverEmailAddress >> this.parent.oleMmess.RecipType = 1 && The recipient is a primary recipient >> * this.parent.oleMmess.RecipType = 2 && The recipient is a copy recipient >> * this.parent.oleMmess.RecipType = 3 && The recipient is a blind copy recipient >> this.parent.oleMmess.ResolveName && resolve the name >>>2. this.parent.signoff - The code is called in click() of cmdButton. The parent doesn't have signoff method, though it has signon method which in turn calls signon in MAPI session.
>>>if not empty(thisform.cLoginName) >>> this.parent.olemSess.UserName = thisform.cLoginName >>> this.parent.olemSess.Password = thisform.cLoginPassword >>>endif >>> >>>IF !this.parent.signon() >>> RETURN >>>ENDIF >>> >>>IF this.parent.LogSession >>> >>> this.parent.OleMMess.sessionid=this.parent.OleMSess.sessionid >>> this.parent.OleMMess.compose >>> this.parent.OleMMess.msgnotetext="" >>> this.parent.OleMMess.msgsubject="" >>> >>> && this.parent.OleMMess.RecipIndex = 0 >>> && this.parent.OleMMess.RecipType = 1 >>> && this.parent.OleMMess.RecipDisplayName = ReceiverName >>> && this.parent.OleMMess.RecipAddress = ReceiverEmailAddress >> >> this.parent.oleMmess.RecipIndex = this.parent.oleMmess.RecipCount >> this.parent.oleMmess.RecipDisplayName = ReceiverName && or if this fails : ReceiverEmailAddress >> this.parent.OleMMess.RecipAddress = ReceiverEmailAddress >> this.parent.oleMmess.RecipType = 1 && The recipient is a primary recipient >> * this.parent.oleMmess.RecipType = 2 && The recipient is a copy recipient >> * this.parent.oleMmess.RecipType = 3 && The recipient is a blind copy recipient >> this.parent.oleMmess.ResolveName && resolve the name >> >>> >>> this.parent.OleMMess.send(1) >>> && this.parent.OleMSess.signoff >> this.parent.signoff() >> >>>ENDIF