a Delphi app automating Word mail merge and emailing via Outlook (Office 2007).
Windows XP2
Anti Virus Software Status -Valid
Trust Center Programmatic Access NEVER WARN ME.
(A different app not using Word but using Outlook emails without warning).
Yet Outlook Security Guard Warning Messages appear.
2 alerts per email x 700 email addresses = One angry customer.
Why? Without using a 3rd parry add-in, is there a way round this?
Is there a way to merge one record and the run some delphi code then another record merge? I can then bypass Outlook altogether
Outlook has no idea where the call comes from. Outlook VBA and COM add-in are explicilty trusted, any external code is not.
You will not see the prompt if you have up-to-date antivirus software.
Otherwise your option are listed at http://www.outlookcode.com/article.aspx?id=52
In your case (Mail Merge), try to do the mail merge to a file, then mail the files in your code using the workarounds listed at the URL above.
Related
I'm currently automating Excel to send an email with .xlsm attachment to users that contains vba within the workbook. When they try to open the file, they are receiving the following pop-up: "BLOCKED CONTENT" Macros in this document have been disabled by your enterprise administrator for security reasons
That is because the company that receives your .xlsm file does not allow macros/VBA in their company (which is a very good decision actually). There is nothing you can do about it, as it is the rules/policy of that company and not your decision.
Note that most companys disallow macros from outside the company (and that every company should do that).
Currently, I have the Excel VBA code that will construct and send an Outlook email from Excel. However, I need to be able to use this VBA to open an Outlook form template that contains a command button and update the body of the message. I have been searching non-stop and cant find any good resources for accomplishing this, any good pointers, links, or supporting code would be greatly appreciated. Thanks.
You can save the form as a Microsoft Outlook template file (.oft), and then e-mail that file to users. If the form contains code or custom fields, the recipient will not be able to simply open the .oft file and publish it. The recipient will need to save the .oft file to the local drive, run it with the Tools | Forms | Choose Form command, and then publish the form to the Personal Forms Library.
Alternatively, you can use an .fdm file to install a form manually, see OL2000: How to Move a Custom Form to Another Computer.
Read more about Outlook forms in the To distribute Microsoft Outlook forms to other users article.
As a workaround you may consider creating a COM add-in with rich UI options which can be installed on the recipient's side and do whatever you need for users. See Walkthrough: Create your first VSTO Add-in for Outlook for more information.
I would like to set up an excel form to essentially email a range of data, once a user has completed a task. Unfortunately my company uses multiple platforms,PC Outlook, mac Mail and mac Outlook. I can get each one to work in isolation using Ron de Bruin code, but wonder if I can somehow combine the three on an if else type scenario?
Or is there another way, like using a settings page on the form workbook and setting up a trigger which informs the code which scenario to run?
My current trigger to one scenario is as follows;
Unload Me
Application.Run ("masterDB.xlsm!Mail_Range_In_Excel2011")
Workbooks("MasterDB.xlsm").Close True
With the Mail_in_range being the Ron code. As a bit of background, the form sends data to the masterDB, where is picks up the next number in sequence, which forms part of the range being emailed out. This sequence number is important as it directs recipients to the correct data to build a report.
On the Windows platform you can automate Outlook to send emails. See How to automate Outlook from another program for more information. Also you may find the Using Automation to Send a Microsoft Outlook Message article helpful. But on the MAC platform you can't do that - there is no COM Automation technology exists for MACs.
My employer (unfortunately) uses a Lotus Notes server. All company computers are Windows machines, but I am a Mac user. I have configured my e-mail on IBM Notes 9.0 for Mac.
It's tolerable, but I need some help with AppleScript or automating some features. Most emails I receive are reports in MS Word or PDF format. I would like to automatically copy all attachments to a folder on the Desktop. Can I do this with AppleScript or Automator on the Mac? Can I do this with actions in the Notes software itself?
Create a personal agent in your local replica of your mail database, which triggers on "when new documents are added". In this agent (it should be LotusScript or Java), call LNDocument.Detach. I do not believe that you can automatically detach from simple actions, but I have not doublechecked.
Be aware: Detach removes the file from the Notes document entirely. This could cause problems with compliance or any number of other things, so you want to check with your IT department what the policies are supposed to be. Make sure you follow them. Compliance's job is to keep your company from suffering additional penalties that could exceed your annual salary twofold or more when there's a lawsuit. (It's worse because when you replicate back up to the server, the changes you make to your local documents copy to the server and delete the attachments there as well.)
I am using SHarepoint Workspace 2010. I was wondering if there was any way to somehow make the workspace (or even the site) work with Outlook and save emails in the document repository?
If you want to drag and drop email into any SharePoint 2010 library, SharePoint 2010 allows this out-of-the-box by selecting "Open with Explorer" from the "Connect & Export" section in the Library Tools ribbon in the applicable library. This will open a browser window, into which you may either drag/drop or copy/paste from your outlook window.
This method is exceptionally helpful when you DON'T want to set up the library to receive email.
For this, you have to integrate your outlook with sharepoint.You need to create a list, which will be seen at your outlook as well. Now when you want to send emails you have to save them in the list as well. So your emails will be saved in the sharepoint list.
There is no way of doing it. If you want to share your e-mail with broader audience you can move it to the Outlook public folder.
You could create a list which accepts emails like a discussion and setup an email address for the list in the settings. Then you can go to your Outlook and set up rules to forward emails to the list which fit a certain criteria.
Also, when viewing a list, you should be able to sync with Outlook (Connect to Outlook button) which would allow you to view it in Outlook.
Try Colligo Contributor Pro. It's an alternative for the old fashioned Sharepoint Workspace. You can do everything you want:
add all kind of files to Sharepoint
sync when you want
add emails to your Sharepoint and open them later with your mail program
add Sharepoint libs to your Outlook and sync them
For drag and drop of emails from Outlook to SharePoint we are using SharePoint Outlook Integration tool. PageLight also offers Save Outlook emails to SharePoint functionality