How to send data with email using combo box and radio buttons in outlook 2013 forms - vba

I am new in Outlook custom forms. I am working with Outlook 2013. I have work to create a form with 4 drop downs, 2 radio buttons and 1 text box. I designed the form properly using developer tools in Outlook, but when I send the mail after running the form no data is sent with the mail that I typed in the TextBox. The second problem is that I have no idea how I can set the value in ComboBoxes and RadioButtons and send them with mail.

You need to associate custom controls with user properties that may contain values between sessions. See Customizing Outlook Message Forms for more information.

Related

Outlook Forms: Recipient does not receive form, only message body //How to store form's data in an email?

I am currently trying to create a form in Outlook. I want to be able to send this form to different people so that they can make changes to the form and send those changes back to me as a response.
I have a published form in the meantime. My current problem: The recipient does not see the form until he "undocks" the email from the Outlook app and the changes made there are not transmitted to me; I just get an empty form. How or where can I save this data that the recipients enter? I am grateful for any help!
The form definition includes all the fields and the code that you add to the form. As a general rule, publish the form definition to a forms library instead of sending the form definition with the item. If you cannot publish your form to a forms library, you can select the Send form definition with item check box on the Properties page so that other users can see the form pages when they receive items that are composed by using the form.
Forms that you only intend to use once and not publish are referred to as one-off forms. Because of security concerns with one-off forms, users might not see the form correctly when they open items sent to them with a one-off form. In this case, sending the form definition with the one-off form provides the necessary information required to display the form correctly for the users.
To change how users reply to your form, click the Actions page. The Actions page lists the default Reply forms that are available. You can also add your own custom Reply forms. For example, forms based on a new email message have built-in Reply, Reply to All, Forward, and Reply to Folder forms. When users receive your form, the form contains buttons and menu commands so that users can respond to the form. You can disable some or all of these default forms and set attributes that define how these Reply forms appear.
Read more about that in the Create an Outlook Form section of MSDN.

Outlook mail : option to change mail subject color using vsto

I have couple of doubts regarding Outlook addIns.
I created a ribbon for Outlook application using VSTO.
While sending the mail i call some API and make some db entries.
I keep the mail in inbox even after i sent the mail.
Now i need an option to change the color of that message subject (like indication this is already send. eg : unread mail subject is in bold )
Is there any way that i can achieve this ?
The ribbon i created is showing under Add-ins menu.
i wated to show this in Home itself.
I tried tab idMso="TabHome", TabMail etc but its not working (i am using office 2010)
You would need to modify the view setting based on some condition - look at an existing Outlook views that bold the unread messages and display overdue messages in red.

Adobe PDF forms submit opening outlook new email windows in Safe mode

We have PDF forms. Business user fills data in the form and click on submit button which opens a new email window of Outlook with predefined email IDs and the form data attached as XFDF. Later user clicks on a button in outlook ribbon which calls the macros to sign, encrypt, send and then archive the message. It had worked successfully for 3 years.
The outlook ribbon button stopped calling Macro in November-2019. The ribbon button works perfectly if we open Outlook new email window directly from Outlook but was not working when opened from Adobe PDF forms. After alot of investigation, we have found that the Outlook new email window has been opening in Safe mode when Adobe PDF form invokes it, so the Outlook macros are not callable (new email window opens in safe mode even though outlook is in normal mode).
The forms use below code to submit PDF form data as XFDF to Outlook:
this.submitForm({cURL: cEmailURL, bAnnotations: true, aFields: aSubmitFields,cSubmitAs:"XFDF", cCharSet:"utf-8"}
Please help us to fix it.
I'd suggest checking the Trust Center settings in Outlook. Most probably somebody has changed the Macro Security to Notifications for digitally signed macros, all other macros disabled on the Developer tab in Microsoft Outlook.

How to associate code with a checkbox in an Outlook template?

I have created an Outlook template with checkboxes included. I want to display a message when a checkbox has been ticked. I have written some basic codes (msgbox etc.) related to each checkbox.
Issue:
How can I include/integrate my codes in the Outlook template?
Looks like you need to create a new custom Outlook form with a code behind. You can read more about that in the Create an Outlook Form article.
You will not be able to achieve the required functionality with a message body. Any scripts from message bodies can't be run for security matters.

Invoke a macro in Outlook from a button in email message

How to invoke a macro in Outlook from a button in email message?
You would need to use an Outlook custom form, with a OlkCommandButton Object.
Updated with new links:
Controls on Outlook Forms
Tutorial: Creating and distributing custom forms with Outlook
Frequently asked questions about Microsoft Forms
Related:
How to use option buttons on an Outlook custom form
Tutorial: Creating and distributing custom forms with Outlook
Frequently asked questions about custom forms and Outlook solutions