Edited by Ross Bevin, 13 November 2005 - 05:18 PM.
Calling MS Outlook E-Mail
Posted 14 November 2005 - 08:39 AM
it works, but outlook will ask for a user confirmation for each email you send out that way (security patches). Before you can confirm there is a delay build in for 5-10 seconds. All that time, the pro-iv client cannot be used.
We are considering building our own active x component that won't have that 'feature'
Tried to report it to pro-iv, but they reffered to a microsoft answer: http://support.micro....com/kb/262634/
"After you apply the Outlook E-mail Security Update, various Outlook features and programs that integrate with Outlook cause a warning message to appear that asks you to confirm the action. You must confirm the action for the feature to work. Unless an administrator has overridden these default settings for you, you cannot alter this behavior. In some situations, the prompts may cause a feature to take longer to complete because you must approve the action repeatedly."
Posted 15 November 2005 - 02:10 PM
This allows us to generate automated emails for batch jobs from the server, without having to call outlook at all.
Posted 15 November 2005 - 02:31 PM
Could you please give me an example on how to call the MAPI.DLL? Thank, Vol
You can call the MAPI.DLL from v4.6. We wrote an interface DLL in C++ that in turn calls MAPI. We call our interface DLL using LINK_CLIENT command. It works well, but if we were starting with 5.5 we'd just use the Active-X. Mark Dexter
Posted 15 November 2005 - 02:56 PM
Then, create a screen function with that active x module in the statics.
In logic set the following items:
Mail.From = 'email@example.com'
Mail.To = 'firstname.lastname@example.org'
Mail.Subject = 'test email'
Mail.SenderName = 'pro-iv'
Mail.UseRedemption = False
Mail.ID = @TERM
Mail.Format = 1
$$TEXT = 'Test message line'
#S = Mail.Send()
Edited by Wim Soutendijk, 15 November 2005 - 02:57 PM.
Posted 08 June 2006 - 06:48 PM
I have tried
#A = Mail.AddAttachment(attach)
and passing in the file name and path parameters
#A = Mail.AddAttachment("filename","networkpath")
neither of which work
Any help/advice would be grealy appreciated.
Posted 11 June 2006 - 02:52 AM
In case you use redemption, you wont get the security message.
Redemption.dll is available from http://www.dimastr.com/ , a Microsoft MVP. Many outlook books mention this solution.
To use redemption, you need to set UseRedemption to True.
PROIV Outlook ActiveX control is a "prototype" and should be used in "As is" condition.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users