You’ll need an SSL certificate and the images that you host on Marketing Cloud will also be secure if you purchase 2 SSL certificates.
There are two configuration options for the SSL certificate:
1. Securing microsite, landing page, or CloudPage URLs which would typically use your existing Sender Authenticated domain
(e.g. pages.SAPdomain.com, cloud....
As per your post I was able to upload a pdf file into sfmc content builder. It took me a little while to gather all the necessary attributes but it is all available in REST Reference API.
Here are the steps and things to consider:
Make sure the API user account has Assets read and write access.
Your pdf file that needs to be uploaded to the content builder ...
You can access data from your entry event like this:
First you need to find out the path of the data you like to access:
Go to Email Studio -> Subscribers -> Data Extensions
Find the automatically created Data Extension for your Salesforce Data Event (starts with the name of your entry event)
Click on the Data Extension
Check out the column name containing ...
Yes you can, but you have to first ask support to turn it on:
Contact your account representative to have this feature enabled for
your account. You must be familiar with AMPscript to send emails with
Here is the whole description: https://help.salesforce.com/articleView?id=mc_es_email_attachments.htm&type=5
You will need to use ...
The window/document setTimeout function's browser based. This is SSJS and there's no window or document object to provide this functionality.
You can use the Script.Util.HttpRequest() function to set the timeout for your request. If you inspect the returnStatus of the response for a failure, you can handle the error.
As I inspected, the ampscript function outputs the very basic image html attributes.
<img title="xxxx" alt="xxxxx" src="public url of content" border="0">
I found the best way to add attributes to the <image> tag would be to use replace function.
Here is the sample code:
I think the output() function in your content block is causing the extra divs. I'd code the content block like this:
if @colorName == 'head' then
set @color = '#CD6155'
elseif @colorName == 'body' then
set @color = '#A569BD'
elseif @colorName == 'footer' then
set @color = '#F1C40F'
set @color = '#AAB7B8'
Using content builder or editing the e-mail node within the journey, you can update content (even when the journey is active). Anyone new entering the journey or who hasn't received that e-mail yet will get the new e-mail content (just tested this).
You can also create a new version with the newer content and activate that. Those already in the journey will ...
No, it's not possible in SFMC.
There are several ways to approach this. The best way I've seen is to break up the email components into Content Areas.
You could do something like this:
Upload all of the background images you'd want to use to the Portfolio and record the URLs of each
Create a HTML-only Content Area for each background. Make the Name and ...
For content stored inside of ContentBuilder, you will need to use the 'new' AMPscript functions. Not sure on the details of why, but in building Content Builder / Email Studio, they completely removed the storage location from the previous Portfolio section. The bad thing about this is that a lot of options that previously worked, no longer work on Content ...
AMPScript is definitely supported in Content Builder. AMPScript typically does jack up the code in the editor.
Here's a little trick I use to "pretty up" the AMPScript:
%%[/* Modify to view AMPScript <div style="display:none"> */
/* your big blob of AMPScript goes here */
/* </div> */
Update: Placeholders vs Content Areas
It is a bit 'wonky', but this should do it (and it includes the possibility for a fifth Friday):
SET @SubDay = SUBTRACT(DatePart(Now(), 'Day'), 1)
SET @Negative = SUBTRACT(@SubDay, ADD(@SubDay,@SubDay))
SET @FirstofMonth = DATEADD(NOW(), @Negative, "D")
SET @DayofFirst = FORMATDATE(@FirstofMonth, "DDDD")
IF @DayofFirst == "Sun" ...
getContent(callback) - callback gets passed a content string
setContent(contentString, callback) - callback gets passed a confirmation content string
getData(callback) - callback gets passed an object with custom block metadata
Your link example is malformed.
You need to call the AMPScript variable via v() in order to insert the value into the 'live' HTML. There are other functions that will also output the value, for instance in your case I would utilize concat()
<a href="%%=RedirectTo(CONCAT(@url, '/', articleID))=%%">%%articleTitle%%</a>
Without the ...
There are a couple solutions to this:
Using single quote (but keep in mind, this limits the content as well, e.g. Ronald's car would cause the same issue as your current double quote issue.
SET @sub_trailer = 'Learn more by clicking <a href="%%=RedirectTo(@link)=%%">here</a>'
This will let you separate ampscript variables, ...
To create a new asset inside of Contact Builder utilizing the REST API, you will need to use the POST /asset/v1/content/assets endpath.
This will require you to provide a JSON with all the values you wish to utilize for your image (including the image value itself). One of these values is "Category" which is actually the folder location of the file. ...
You don't need to stop the journey in that case. Each email activity in Journey Builder creates a triggered email interaction in the background, that you can publish the changes to.
There are two ways to do this:
Option 1 (Source: SFMC Documentation: Update an Email in a Running Journey):
In the running journey - hover over the email activity.
Click "View ...
This would require SFMC servers to support a third MIME type. So there is not a way to send out of SFMC. You can help vote for the idea here 'Support Google AMP for Email or AMPHTML as a MIME version in Marketing Cloud'
I have been using this approach to host my Cloud Page code in a private GitHub repo. You should create this private repo, along with a personal token, so Cloud Pages can fetch the code while this is still hidden from curious eyes by not being public.
In the Cloud Page itself, you need to define where it should look for the code, using this approach:
You need the change the "Title" element in the head section of your email/template code to change what's shown on the browser tab...
<title>What I Want to Show On The Tab Title</title>
The content of the email......
Also take a look at Icons, if you want something more ...
You can not get the FromEmail during previewing the email because JobID will generate after completion of email sent and your AmpScript code is not coded properly. Also, I don't think so there is any Personalization String to get the FormEmail directly. I have modified your code and now, you will get the FromEmail after email sent.
IF _messagecontext == ...
This is not actually anything from SFMC, but an Outlook issue. See below for more information on this issue.
Your best two solutions are to:
Resize the actual hosted image to the maximum width/height you want it to appear in Outlook
Define the width in pixels and use media queries to resize the image to fit in a mobile or tablet environment.
In #2 ...
Here's information about the assetType property, and here is a list of the asset types. There hasn't been documentation released yet regarding filtering for these routes, but this should work in the payload:
You need to disable Approvals in your account in order to enable sending unapproved emails. As far as I know automatic approval on a per user basis isn't available and if this feature is enabled, approval is needed:
Enabling Approvals will allow you to review and approve emails. Unapproved emails can be edited, and only approved emails can be sent
So you ...
Updating all emails using the template is currently not available in Content Builder, however you can update the emails one by one instead of creating new emails. You can find a detailed guide in the marketing cloud documentation: Updating an Email with a Modified Template
Basically it involves following steps:
Go to the email using the template
Click on ...
In the current CB system, you can share from BU1 to BU2, then from BU2 copy that email, and from BU1, delete it. Doesn't work if you want to keep the exact same email (new jobs won't know it's the same email etc.) but if you just want to build an email in one BU and then let another BU own, manage, and send it then this workaround might do.
EDIT: Thanks to your screenshot I now reproduced the issue and have a workaround for this that might be easier to put into action as you are possibly migrating a lot of emails and changing every operator is quite painful then.
The workaround is similar to Adam Spriggs approach (see original answer below) to solve the messed up preview, which my workaround ...