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
Related
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.
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.
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
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.
I created a workflow as below, i want to send email with the link to the content approvers group when something is submitted? Can someone point me from where should i start with? which is the function that should be overridden ? Any help is appreciated
Thanks,
GT
Here is a good example of how to create a custom workflow email that can be sent to users in a particular Sitecore role (and the user who last edited the content item).
http://techmusingz.wordpress.com/2014/04/25/workflow-notifications-in-sitecore-roles-and-users/
You can link to a specific content item in the Sitecore client using the following method but you need to already be logged in to the Sitecore client for this to work (Otherwise you are just directed to the Sitecore login page and won't be redirected to the item after login).
/sitecore/shell/Applications/Content%20Manager/default.aspx?fo={id}&la={language}&vs={version}&mo=preview
fo - The item to open in the Sitecore client
la - The language to open (optional)
vs - The version to open (optional)
mo - preview
(optional)