How to send Outlook email without prompt in Access using macros? For example in the macro builder, I have send object selected and filled out the relevant fields. However when the macro runs, an outlook prompt pops up with the message but doesn't send the email.
OK, I have stumbled on this once before with outlook 2007. In outlook 2007 there was a change from previous versions. The not so obvious thing was that it needed an installed antivirus to let go of the prompt that showed up. I just installed a free one but I think you have to use one that is recognized by windows. It must also be up to date with the virus definitions.
This is of course after you have disabled all security in Outlook preventing programatic access (which is the default setting), and I think you need administrator privileges on the computer also. I just post this here, it's so long ago that I'll have to check on the system later to be 100% shure.
Have a look at this for some more information.
Related
i have finished develop a portal site with sharepoint online (O365), and i facing a weird issue.
the issue is when user open the portal site via Microsoft Edge always prompt credential, and there only occoured for several users. but for another user just input credential at first time.
so we just need to let the credential entered at a first time. for next time, then users does not need to enter the credential again.
i have tried to compare the configuration of microsoft edge, but not successfully.
please if you some clue, please help me. thanks
note : for default of home page of Microsoft edge alreadt setted up by the Active Directory server.
I am assuming that you are using MS Edge Chromium browser (Correct me if you are using the Edge legacy browser).
I suggest you paste edge://settings/passwords in the address bar and press the Enter key.
Check and make sure that Sign in automatically option is enabled. if it is disabled then Edge browser every time asks you for permission before signing in to the site.
I am using Office 365 for MS Access and MS Outlook. I have a macro that, upon opening, fires off queries and attempts to e-mail the last query.
However, when I do, it prompts me with a dialog box that says:
A program is trying to send an email message on your behalf, If this is unexpected, click Deny and verify your antivirus software is up-to-date.
For more information about email safety and how you might be able to avoid getting this warning, click Help.
Allow Deny Help
So far, I've tried this:
https://www.youtube.com/watch?v=3D8M3jo0a7U
Where you go into your MS Outlook settings and turn off warnings. However, it still gives me the same error.
Any ideas?
~~EDIT~~
Adding solution ideas as I attempt them. The following list are failures:
In Outlook: Trust Center -> Programmatic Access -> Disable all security
In MS Access: Trust Center -> Macro Settings -> Enable all macros
Run the registery edit to run system in Admin and try the query again.
The professional way to send emails via Access is to bypass Outlook and use either CDO or vbSendmail...
I am automating website filling in Chrome browser using Selenium.
For the first time user will enter username, date of birth manually. Now my requirement is when user opens my application for next time I want to enter the name and D.O.B using code.
Previously I was using Internet Explorer and there I had beforenavigate event which will inform me that user is going navigating to other URL. So I used to read the required fields and save it in my database.
How to do this in Selenium or Chrome driver ?
WebElement.getAttribute('value') can be used to get the value, but how to know that user has entered the values to that field ?
Please help me.
You are trying to fill in a login form for users using Selenium. This is impossible. For this I'd recommend cookies. How to do this depends on the language the website is written in. I'd suggest you do some research on how to do this in your applicaton. If you have questions about this you can make a new post here explaining the details of your application and the issue you are facing.
The reason this does not work in Selenium is that you will need to start a Webdriver to use this. When a user navigates to your website it (most likely) won't be doing this using a Webdriver. Especially not one you can access and send commands to.
I've deployed an SSRS report on my PC and am able to access my report through the report manager. When I copied the report URL and opened it on another PC over the network, it asked for credentials when using Mozilla Firefox.
I've tried the following in Firefox:
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
In the about:config page, search for the preference network.automatic-ntlm-auth.trusted-uris, and double-click on it.
I've added my server URL in that manner, which prevents the credentials popup from appearing.
I don't think this is the correct way of doing things. If I'd pass around the URL to -say- 100 different users, they would all need to do what i did as described above?
Can anyone help me to avoid credentials popups (username and password), and open the report directly?
check your server URL, must be just "http://server_name" in firefox about:config "network.automatic-ntlm-auth.trusted-uris" key
store credential required in for accessing data source, at report tab "data source"-"Credential stored securely in the report server"
add in security tab "domain user" that has credentials for accessing the report , check only for "Browsing"
enter credential for "domain user",for the first time when showing report in firefox and allow to remember
now it works automatically when you start link shortcut
The report will need credentials to run. (Turning on anonymous access to SSRS is not supported and not recommended.)
Those credentials can come from a few different places.
1. Users are prompted for user name and password.
2. Credentials are stored in the browser (or in Windows.) As you've seen, this is easier to handle with Internet Explorer than Firefox for NTLM authentication. But Firefox does give you an option, as you've mentioned.
3. Some other service or website accesses the report server and hands in credentials. This other service then passes the report on to users. Designing this would require some thought: Would you need to track who accesses this service? How would you secure individual reports?
Your comment suggests that you have conflicting requirements: you aren't allowed to have Firefox automatically log in for security reasons, but you want to have Firefox automatically log in. There's no technical advice that can solve that problem.
I know this question was asked like a million times by now, but I couldn't really find a good up-to-date solution.
I've implemented my own menu to provide the user the ability to Cut, Copy and Paste into my WebApp.
But I'm not sure how to actually work with the clipboard on Firefox, IE, Safari/Chrome.
Thank you for your help.
I just wrote a detailed technical blog post on this very subject (I work for Lucidchart and we recently did an overhaul on our clipboard). Included in the post is this fiddle which is a working example of copying and pasting via Javascript.
The good news is that this example gives you working code for setting/getting any supported clipboard data types whenever the user uses a clipboard hotkey.
The bad news is that using your own context menu to copy and paste is problematic. Even Google can't get around this (try using context-menu copy or paste in Google Docs in Firefox). You'll be able to get it to work without too much trouble in IE. This is because you can access the clipboardData object at anytime from Javascript via:
window.clipboardData
(When you attempt to do this outside of a system cut, copy, or paste event, however, IE will prompt the user to grant the web application clipboard permission.)
In Chrome, you can create a chrome extension that will give your web app clipboard permissions (this is what we do for Lucidchart). Then for users with your extension installed you'll just need to fire the system event yourself when they click the menu option:
document.execCommand('copy');
It looks like Firefox has some options that allow users to grant permissions to certain sites to access the clipboard, but I haven't tried any of these personally.
did u try :
http://ericphan.info/development/cross-browser-copy-and-paste-with-jquery-copy/
UPDATE:
the link is not available so i copy the content from cache :
The Scenario
I was working on a client project for SSW when the client reported a bug in the web app.
The bug involved a dynamically generated mailto link that got updated when you selected multiple employees. The client was reporting an error when he selected more than 10 employees to email. His Lotus Notes mail client popped up an error saying:
Error processing command line arguments
Testing this myself I found that Outlook 2007 could easily support the emails of 30-40 employees before the mailto link stopped working.
The Cause
It turns out that the mailto spec has a limit and the mail clients also have a limit. Lotus Notes only handles 240 characters in the mailto link and other modern mail clients like Outlook 2007 support the 2083 characters - the max length of a URL
This explains the discrepancy in testing.
The fix - JQuery to the rescue
Since this is a limitation of the HTML spec we needed another solution to meet the client’s requirement of “I want to be able to select multiple employees and send an email to all of them”
We could have created an email form that used SMTP to send out the email - but the client wanted to use Lotus Notes as his mail client.
We ended up changing the “email” button to copy all the emails (comma separated) onto the clipboard and popped open a new email window. All the client had to do was hit CTRL + V and paste the emails into the TO field. This was the quickest and most cost effective solution that gave the client the flexibility to use their own email client.
There is a JQuery plugin called jquery.copy that provided cross browser copy and paste by using a flash (swf) file. This is similar to how the syntax highlighter on my blog works.
Once you reference the jquery.copy.js file all you need to do to push data into the clipboard is run the following:
$.copy("some text to copy");
Nice and easy ;)
Note: you may need to change the path the the SWF file in jquery.copy.js to get this to work