I have useed flowing code to open outlook new mail It works fine on my pc but does not wrok on client pc. can some one tell me why. Thanks in advance fazi
MAPISession1.UserName = "fayaz"
MAPISession1.Password = ""
MAPISession1.DownLoadMail = False
MAPISession1.LogonUI = False
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipAddress = "fazi@hotmail.com"
MAPIMessages1.RecipDisplayName = "fazi@hotmail.com"
MAPIMessages1.MsgSubject = "Testing"
MAPIMessages1.Send True
MAPISession1.SignOff