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%}
Related
I am logging into gmail via python and deleting emails. However when I do a search for two emails I get no results to delete.
mail.select('Inbox')
result,data = mail.uid('search',None '(FROM target.com)')
The above works and will find and delete any email that had target.com in the from address. However when I send in another email address I get nothing.
result,data = mail.uid('search',None '(FROM "target.com" FROM "walmart.com")')
Yes I have both target.com and walmart.com emails in my inbox.
Gmail search is exactly like Searching in the gmail website. If you open that and click the arrow down buttom in the search field you can test things.
That being said searching on more then one address is not going to work as its going to look for emails that are by both people. Not all emails containing one or the other.
The following will look for mails that both come from tom and jon. probably not possible as you cant have two senders
from:(tom#gmail.com,jon#comcast.net)
where as will return all mails that come from gmail.com
from:(gmail.com)
will only return mails sent from gmail.com and comcast.net which inst possible
from:(tom#gmail.com,comcast.net)
your going to have to make two requests.
You can search set this type of filter:
from:(demo#gmail.com OR demo1#yahoo.com)
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
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
All,
This might sound like a very simple question but I am new to Lotus Notes 8 and nobody around me seems to know an answer to it.
As most people, I keep multiple email addresses per contact (ie.: their work and personal email). (example: john.doe#company.com and john.doe#gmail.com; both these email addresses under "John Doe" contact).
When I go to send an email to "John Doe" Lotus Notes 8 just displays "John Doe" on the "To:" field without informing me as to which of both email addresses is the email going to go to.
Does anyone know how I can show / choose which email address is the email going to be send to?
Thanks in advance
m
Rich is correct, this is for programming issues but I found the solution, though I am not sure when they introduced it.
This answer may only be valid in Notes 8.5 or later. I use 8.5.3 UP1.
While you are doing type ahead, the contacts name appears below the send to field. If there are multiple addresses the primary one is displayed and a "twisty" is shown at the right side. Mousing over the name expands the twisty to show and allow selection of alternate emails. Here is a sample (with my spouse's email redacted.:-) )
Enjoy.
/Newbs
I work in a development/support team which has a shared Lotus Notes mailbox. We need to be able to associate an issue ID with each email. We started by adding this ID to the subject line (eg. "Something doesn't work [ID12345]"). For performance reasons, our IT dept don't allow indexing of shared mailboxes, so it takes a long time to search for a particular ID.
I decided to add a new ID field, which can be shown as a sortable column in views and folders. I put this field to the visible header (just below 'Subject') in the ($All) view and the ($Inbox) folder, and copied the ($Inbox) design to all the other folders in the database. That much was easy.
My problem is that when we reply or forward, this custom field is not carried over to the new memo, so we have to manually add it again before sending. And of course when the user responds, the field is again missing and must be manually added. I have searched the docs and the internet and haven't found any information on this. Either I have to declare this field as something which persists across replies and forwards, or I have to add a line somewhere which explicitly copies the field contents to the new memo.
fsw,
We do exactly this with our complaint system however our database is indexed although this should not be an issue to you. We created a view that is sorted by ID by extracting just the ID from the subject line, order it by ID and then by date descending. Base it on the $ALL folder view so you get both incoming and sent emails.
We then altered the memo form to include an embedded view single category of the new view that sits above the body which shows all other documents linked to the ticket.
This should avoid having to delve to far into the very complex mail template any further. One thing is to make sure you have a copy of the changes you made and a bit of doco re deploying as you can guarantee that one day your template will be completely overwritten in an upgrade and all your good work will be gone.
As the additional field would have to incorporated into all Memo forms in mail templates in your corporation and as these fields do not easily travel via SMTP, you should stick with the ID in the subject.
What you could do is to parse the subject (#Mid, #Right, ...) in the column formula in the view and only display the ID there (like you did with the additional field).
The other option I envision if having a field is required is to have an agent that processes the incoming message(reply) to have it parse out the issue ID from the subject and write it to the field. You could also do that with queryopen or postopen if running an agent is not possible