How To Use MAPI In ASP
how to send e-mails in ASP using MAPI. I cannot use SMTP due to a technical reason in my network.
View Replieshow to send e-mails in ASP using MAPI. I cannot use SMTP due to a technical reason in my network.
View RepliesI've never written a MAPI before so this is completely new to me. I was googling for MAPI tutorials and everything I found used a VB or .NET implementation.
Is it possible to create a MAPI that works in an ASP page?
I need to create a MAPI for Novell Groupwise that works in an ASP page that sends auto-generated email notifications.
I've normally used CDOSYS to do this, but the requirements call for using a MAPI.
I have a procedure that works fine. I need to add CC fileds to this email. Code:
give me a sample code to send email by using MAPI control with VB Script.I am planning to use it in my ASP pages on the server side.
View Replies View RelatedI have an ASP application that logs into Exchange server to send email. The
code looks like this:
Set objSession = CreateObject("MAPI.Session")
objSession.Logon "profileName"
strMsg = ".."
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = "Customer Comment"
objMessage.Text = strMsg
Set objRecip = objMessage.Recipients.Add
objRecip.Name = SendTo
objRecip.Type = 1 'CdoTo
objRecip.Resolve
objMessage.Send 'showDialog:=False
objSession.Logoff
This code worked fine when the server was WinNT / Exchange 2000, now the
server has been upgraded to Windows 2003 and Exchange 2003.
Exchange Server is running on the same machine as IIS. And the error
appears to happen when the Logon is attempted.
Any ideas as to what may have changed in Windows 2003 or Exchange 2003?