-
Sending mail using MAPI
I try to build the MAPI sending function in VB,but it doesn't work.
The program:
------------------------------------------------------------------------------
Dim strShell as String
strShell=App.Path & "\MAPISEND.EXE -u Outlook -p dummy -r ""[email protected]"" -s ""Mail Subject"" "
Shell strShell,vbHide
------------------------------------------------------------------------------
The strange thing is when I use telnet to login in the remote server, the program runs well, but when I operate in the server directly, it doesn't work.
So, I'm doubt where the problem is, the permission, the outlook confirguration....
Thanks a lot for your help.