Click here to Skip to main content
15,900,108 members
Home / Discussions / System Admin
   

System Admin

 
GeneralTaskList.Exe Pin
kersyanti20-Nov-03 19:50
kersyanti20-Nov-03 19:50 
GeneralRe: TaskList.Exe Pin
Anonymous3-Dec-03 12:36
Anonymous3-Dec-03 12:36 
QuestionHow to stop nasty students from deleting files Pin
eggie520-Nov-03 16:17
eggie520-Nov-03 16:17 
AnswerRe: How to stop nasty students from deleting files Pin
Ted Ferenc20-Nov-03 21:47
Ted Ferenc20-Nov-03 21:47 
AnswerRe: How to stop nasty students from deleting files Pin
Anonymous3-Dec-03 12:44
Anonymous3-Dec-03 12:44 
GeneralRe: How to stop nasty students from deleting files Pin
eggie53-Dec-03 14:45
eggie53-Dec-03 14:45 
GeneralRe: Virtual PC 2004 - fixed it Pin
Matt Newman20-Nov-03 7:00
Matt Newman20-Nov-03 7:00 
GeneralProblem while sending mail from Windows service using MSMAPI Pin
alexander13219-Nov-03 20:28
alexander13219-Nov-03 20:28 
Hi Friends,
when i call a MSMAPI object from a standalone exe in VB .NET, i am able to send a mail. But when i spawn this exe as a process from a windows service, i get an error message while signing on using the MAPI session SignOn() method. I tried using windows service logon as both local system and using my NT logon too. The error message thrown is

System.Runtime.InteropServices.COMException (0x800A7D1A): Not supported
at MSMAPI.MAPISessionClass.SignOn()
at ProcTryMail.tryMail.Pr_SendMail() in D:\Projects\Ems\Backup_Nov17OutSeq\ProcTryMail\tryMail.vb:line 20

My feeling was that some security access is required.

The code i have used is:

Public Class tryMail
Private objMapiSession As MSMAPI.MAPISession
Private objMapiMsgs As MSMAPI.MAPIMessages
Private i As Boolean
Public Sub Pr_SendMail()
Try

objMapiSession = New MSMAPI.MAPISession()
objMapiMsgs = New MSMAPI.MAPIMessages()
objMapiSession.SignOn()
objMapiMsgs.SessionID = objMapiSession.SessionID
objMapiMsgs.Compose()
objMapiMsgs.RecipDisplayName = "--give some mail id here--"
objMapiMsgs.MsgSubject = "From .NET MAPI"
objMapiMsgs.Send()
objMapiSession.SignOff()
Catch
End Try
End Sub
End class

Will be grateful if anyone of u is able to find out the problem.

Thanks
Alex
GeneralVirtual PC 2004 - network problems Pin
Ian Darling19-Nov-03 1:42
Ian Darling19-Nov-03 1:42 
GeneralRe: Virtual PC 2004 - fixed it Pin
Ian Darling20-Nov-03 6:59
Ian Darling20-Nov-03 6:59 
GeneralRemote control software Pin
hkulten17-Nov-03 21:50
hkulten17-Nov-03 21:50 
GeneralRe: Remote control software Pin
Kentamanos18-Nov-03 12:08
Kentamanos18-Nov-03 12:08 
QuestionFSB?? Pin
Sarvesvara (BVKS) Dasa17-Nov-03 19:33
Sarvesvara (BVKS) Dasa17-Nov-03 19:33 
AnswerRe: FSB?? Pin
Michael Martin18-Nov-03 0:36
professionalMichael Martin18-Nov-03 0:36 
GeneralRe: FSB?? Pin
Sarvesvara (BVKS) Dasa18-Nov-03 18:06
Sarvesvara (BVKS) Dasa18-Nov-03 18:06 
AnswerRe: FSB?? Pin
karthikram27-Nov-03 9:38
karthikram27-Nov-03 9:38 
GeneralRe: FSB?? Pin
Sarvesvara (BVKS) Dasa28-Nov-03 1:18
Sarvesvara (BVKS) Dasa28-Nov-03 1:18 
GeneralMy RAM Pin
Sarvesvara (BVKS) Dasa17-Nov-03 19:30
Sarvesvara (BVKS) Dasa17-Nov-03 19:30 
GeneralRe: My RAM Pin
Michael Martin18-Nov-03 0:38
professionalMichael Martin18-Nov-03 0:38 
GeneralRe: My RAM Pin
Sarvesvara (BVKS) Dasa18-Nov-03 18:07
Sarvesvara (BVKS) Dasa18-Nov-03 18:07 
GeneralRe: My RAM Pin
Matt Newman18-Nov-03 2:42
Matt Newman18-Nov-03 2:42 
GeneralI need help Pin
basf2hd17-Nov-03 1:18
basf2hd17-Nov-03 1:18 
QuestionWin2000 AS Mailserver? Pin
-- NA --16-Nov-03 19:57
-- NA --16-Nov-03 19:57 
AnswerRe: Win2000 AS Mailserver? Pin
Roger Wright17-Nov-03 10:12
professionalRoger Wright17-Nov-03 10:12 
GeneralRe: Win2000 AS Mailserver? Pin
-- NA --17-Nov-03 20:47
-- NA --17-Nov-03 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.