Microsoft outlook Fetch with a form - forms

I have a very crazy query related to the Microsoft Outlook. Is there any way to connect a form to Outlook, If suppose I want to attach a file so i will attach a file in my form, and then once i click on submit or any button then it should connect to the outlook, and outlook should open and the same attachment will appear in outlook.. Any suggestions or ideas?

Create an instance of the Outlook.Application object, call Application.CreateItem, call MailItem.Attachments.Add, then MailItem.Display.

Related

How to use MailChimp Exported Template to send Email from outlook?

I have created a Newsletter template on MailChimp and exported the template. I have also used the CSS Inliner tool to convert the HTML Code.
But How do I use this code to send the email from my outlook account?
Thanks in Advance for your help.
For this, you can use the import > import as text button in Outlook on the saved HTML file and it should populate into Outlook. (ref)
Open Outlook
Select the Create New-Email icon from the menu bar
From the top navigation menu options choose Insert
Select the Attach File icon
Navigate to the HTML file you want to insert
Select the file (highlight it)
From the Insert Drop Down Menu select Insert as Text
See this answer for more details on Outlook 2016: Getting my HTML into Email
Please keep in mind a couple things:
Outlook strips out all media queries when it sends, effectively removing responsive design
Outlook rewrites your code into Word HTML, which can cause discrepancies in functionality and display
MailChimp usually keeps proprietary code inside of its templates that are not read by other email clients and can cause issues
You need to ensure all CAN-SPAM regulations (physical address, unsubscribe ability) are still displayed inside the email or potentially face fines up to $10,000 per email that violates it.

How to send attachment with email in an ms access form

I was wondering would it be possible to create some sort of ms access form, where you would be able to upload any file and then be able to enter an email in another field, click a button, and send an email with said attachment to the entered email. So far I have the form created with an attachment field and below that I have a button and an empty field where the user can input an email that they would like to send the attachment to. My initial idea was to hard code the button to pull the attachment and send it to the desired email address using the .SendObject() function but i didn't find parameter for an attachment that I could send using the function.
:
In the highlighted box is where users can add any number of attachments and in the box to the right of the send button is a text box that would allow users to put in an email address that they would like to send it to.
If there is a better way of doing this with forms please let me know, I'm always up for learning new things.
You can interface with the outlook objectmodel to create a mailitem, then .send the message and .attach a file, but the file has to be accessible to the filesystem. If the file were embedded in access, you would have to export it out, then attach it. This link and this link should give you a good idea of how this process works.
If you don't have outlook available, then you will either need software that has a VBA compatible API, or you can use a webservice to post the mail, but both of those options are far to massive to talk about here, unless you can provide more specifics.
Edit since your edit:
If you can use Outlook, and you can just store the path to the file() in the attachments field as an array, then you an loop over the array with mailitem.attach to attach multiple files

E-mail hyperlinks: reading href value

So when you click on an email hyperlink, it opens up a new mail message window in the default mail client (Outlook in my case). You can append Subject, Body, CC and BCC fields directly to the email hyperlink and your mail client will automatically populate those values in the corresponding boxes. An example hyperlink field would be:
Send Mail
So here we go. User clicks the hyperlink and a new inspector window is opened by Outlook. I'm listening to NewInspector event in my Outlook add-in. Can I somehow get the full href of the link that was clicked to bring up this inspector window?
The reason I want this is that I'm appending some custom fields to the hyperlink, which obviously are not understood by Outlook. Can I get the entire href value through some direct property, or COM?
No, the Outlook object model (nor the mailto: protocol) doesn't provide anything for that. Instead, you can automate Outlook to fill the required values programmatically. For example, if Outlook is already running you can use the following code:
// If so, use the GetActiveObject method to obtain the process and cast it to an Application object.
application = Marshal.GetActiveObject("Outlook.Application") as Outlook.Application;
Read more about that in the How to: Get and Log On to an Instance of Outlook article. Also you may find the C# app automates Outlook (CSAutomateOutlook) sample project helpful.

How to Open a outlook mail from apex code

i am a Salesforce developer. I have an application by which i can read mail after click on a row in a table that is in a Visualforce page.
Now i would add another enhancement : i want click on a row and open an outlook mail that is on my pc. Is this possible?
Does exist an outlook protocol by which i can navigate to a mail ?
Thanks to all,
F.P.
You can create in your VP a link to outlook mail like this:
<a href='Outlook:00000000CC63759F18171E46835E96E44971FDFB07006446′>Email subject here
Set Outlook as protocol and link de GUID (Globally Unique Identifier).
Read here for more info

Disable moving to Outlook in SSRS?

I have a SQL Server Reporting Services report where one of the columns has user ids in email address format. When I export this report to PDF format and click on the user id it moves to Outlook.
I have read about disabling hyperlinks and used both:
(=IIFGlobals!RenderFormat.Name, "www.google.com",Nothing)
=IIf(Globals!RenderFormat.IsInteractive, "http://10.210.251.132/Reports/Pages/Folder.aspx", Nothing)
But neither is working. Is there any other way to do it?
If I understand your situation correctly, you have a report that displays some email addresses and when the report is rendered as a PDF document the email addresses appear as clickable links. When a user clicks one of the email address in the PDF document, the link launches Microsoft Outlook (to create a new email message).
Unfortunately I think this is a feature of PDF documents, or at least the PDFs generated by Reporting Services. The email address seems to be automatically identified as such and a link created in the document - I can't see any way to control this from within the report code.
The only thing I can suggest is to insert a space into the address to stop the PDF renderer identifying it and creating a link, e.g.
my.email#address.com > my.email # address.com