Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Non-default server for MAPI application?

michael_green
Beginner
358 Views
Hi All,

I have been successfully using Jugoslav Dujic's excellent MAPI.f90 suite and a derivative of his MAPItest program. It all works very well with the our default SMTP server, but for security reasons I have been told that I need to send program generated e-mails via a different server. In VB, apparently, this is quite simple to set up - the code fragment I have been given looks like this:

Set msg = CreateObject("CDO.Message")
...
...
msg.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = varSMTPServer

but I cannot find how to do this in Fortran. Does anyone have any ideas?

With many thanks

Mike
0 Kudos
0 Replies
Reply