I would like to know, how can I search for non-existing external users and sending them an email like the picture bellow
Below is the code that I have used:
<PeoplePicker
context={porps.context as any}
personSelectionLimit={3}
groupName={""}
onChange={_addUser}
principalTypes={[PrincipalType.User, PrincipalType.SecurityGroup]}
resolveDelay={200}
defaultSelectedUsers={_Picker}
/>
Related
I have just started to use Kentico, so far everything has been straight-forward however I cannot get certain Macro's to work in Marketing Emails (to insert personalized information in the email such as their country).
Here is a quick overview of my automation process
Person submits a form on the website
Form field information gets mapped to the contact
Automation process begins
Internal/Transactional email sent which contains the requesters information (Macro's work)
Marketing email sent to requester, containing relevant information (Only basic Macro's work (for example recipient.firstname))
The issue is that the Macro's that are used (and working) in the internal transactional email do not appear to work in the marketing emails section, for example: {% OnlineMarketingContext.CurrentContact.ContactCountry #%} would copy in the requesters Country in the transactional/internal email, but it remains blank in marketing emails (Note: I have tested this fully, not as a draft email as I've read that the information doesn't get passed in a draft email).
I have tried using different objects (ContactManagementContext, etc.), however nothing appears to bring in personalized information.
Is there something I need to do to get the Macro's working within the Marketing Emails section? I have read through the docs online and I can't find anything to make this work.
Any help would be greatly appreciated.
The newsletter email macros are based off the subscriber not the contact. If you want to use the contact info, you will have to find a way to relate the subscriber to the contact.
This video shows how to see what macros are available.
Zach is correct. Normally, you would lookup the Contact based on the email address of the Recipient, e.g. {%GlobalObjects.Contacts.Where("ContactEmail = '"+Recipient.Email+"'").TopN(1).FirstItem%}. However, there is a hidden object you can use in marketing emails: {%Advanced.ContactInfo%}
Blue Prism: I'm trying to read an email(outlook), Which contains the information about the status of a task, name and a table with multiple headers. I should save the required information like name, status of the task in an Excel under the headers which were already written. It should all happen dynamically without spying the elements. Can anybody please elaborate the process?
You've got 2 options:
Use the MAPIEx object for a back-end connection to your Outlook profile's mailbox. (See also: MAPIEx installation guide)
v6.3 and later Use the bundled Blue Prism-provided MS Outlook VBO, which has the following actions:
Delete Email
Forward Email
Get Received Items Advanced
Get Received Items Basic
Get Received Items Expert
Get Sent Items Advanced
Get Sent Items Basic
Get Sent Items Expert
Mark Email As Read
Mark Email As Unread
Move Email to Inbox Sub Folder
Reply to Email
Reply All to Email
Save Attachment Attachments
Save Email
Save Email As File
It's possible to search one's gmail Inbox for Google's smartlabel, using the search criteria : label:^smartlabel_receipt for instance.
But these labels don't appear when being listed using this API :
https://developers.google.com/gmail/api/v1/reference/users/labels/list
Is there a hidden way to still reference this Internal Gmail label?
You could use the Gmail API's messages.list and append a query parameter. For example, like this:
GET https://www.googleapis.com/gmail/v1/users/<userId>/messages?q=label:^smartlabel_receipt
I've got an email processing agent. It copies the body of the email into a document's rich text field. If there are any embedded links in the email I want to process that embedded link and extract the url. I started playing around with MIMEEntity but nothing came of it. Any ideas?
thanks
clem
================
Hi Rich,
Well here's a more robust explanation of what's going on. I have several Notes apps which deal with email correspondence. An email comes in, a Notes document is created with some meta data (system generated ID, user's email, name, company, status, etc). The email body is added to a 'correspondence' rich text field of the created Notes doc. The app allows for someone on our side to follow up on the email (ask a question, provide some feedback, etc). That response from us is pre-pended to the original email. If the original sender responds with some further information, THAT email is also pre-pended. To do this pre-pending, I do
bodyText = EmailDoc.GetFirstItem("Body").text
textFromNotesDoc = CTdoc.GetFirstItem("Issue").text
newTextFromNotesDoc = bodyText + <some stuff> + textFromNotesDoc
I then do a replace.
This worked perfectly fine for years. However, recently users have been sending in emails containing embedded links. Of course anything like that is lost when I do the NotesDocument.GetFirstItem().Text. So I've been trying to think of a way to capture the embedded link. The other day it occurred to me that if I could read the html, I could find and extract the url and simply add it to text. I thought maybe using NotesMIMEEntity would allow me to read through the body field and find the url but that's not working.
Clem
The solution is to NOT NotesDocument.GetFirstItem().Text. Just simply take the email coming in and prepend the body field to the discussion RT field. I add tags to the email going out so that I know if the person responding included the previous conversation. That took a little work to figure out but by using NotesRichTextNavigator and related classes, I'm able to deal with that.
clem
In the contact us template I want to have a dropdown with the list of offices (All offices articles are places under the same parent node, so getting the list should be fairly easy). I need a way to add the office email address (Template variable from the Office article) to the email generated by Modx's eForm. I don't want the email address to be visible in the contact us form, but a snippet fetching the article Template variable email address.
I also want a link from each offices article to the contact us form with the office preselected in the dropdown.
How should I implement this?
Ok, to solve this I removed the to field in the snippet call to eform, and modified the snippet itself to exetute a function to get the to field for the email. This function takes the post variable "office" (the id of the office article) and is using the modx api to get the template variable holding the email address for this article.
Then I am returning this email address from the function and placing this into the email to field. By adding a regular link from each location article with
...?office=[~id~]
pointing to the contact us article. Using
$_GET["office"]
to predefine the dropdown
You should really look into eForm. has such an action where you can put &cc=xxx#example.com
snippet call:
[!eForm? &formid=`feedbackForm` &to=`mail#client.com,mail2#client.com` &mailselector=`department` &tpl=`eFeedbackForm` &report=`eFeedbackReport` &gotoid=`46` &vericode=`1`!]
the form would be set up under a chunk eFeedbackForm and your dropdown selection should look like:
<p><label accesskey="s">Send To</label><br />
<select name="department" style="width: 232px">
<option value="1">Mail1</option>
<option value="2">Mail2</option>
</select></p>