AI_Batch FTPZIP - Transactional - Settings.xml - Send use cases
Examples of working settings.xml file for each use case that foreseen a transactional mailing of a newsletter.
Transactional Mailing is based on MailUp Transactional API. Details about how to enable and configure Transactional Mailing on a MailUp Account are here .Â
Send an already defined email messageÂ
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>send</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> <EmailSubject>Campaign0009</EmailSubject> </Content> <AdvancedSettings> <Separator>;</Separator> <ContentOverride> <MessageId>1136</MessageId> </ContentOverride> <SendType>transactional</SendType> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> </Transactional> </AdvancedSettings> </FtpZip>
Send an already defined email message and aggregate statisticsÂ
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>send</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> <EmailSubject>Campaign0009</EmailSubject> </Content> <AdvancedSettings> <Separator>;</Separator> <ContentOverride> <MessageId>1136</MessageId> </ContentOverride> <SendType>transactional</SendType> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> <AggregationCode>Campaign John Doe</AggregationCode> </Transactional> </AdvancedSettings> </FtpZip>
Send a copy of an already defined email message
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>send</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> </Content> <AdvancedSettings> <Separator>;</Separator> <ContentOverride> <MessageId>1136</MessageId> <CloneMessage>true</CloneMessage> </ContentOverride> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> </Transactional> </AdvancedSettings> </FtpZip>
Send a copy of an already defined email message and aggregate statistics Â
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>send</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> </Content> <AdvancedSettings> <Separator>;</Separator> <ContentOverride> <MessageId>1136</MessageId> <CloneMessage>true</CloneMessage> </ContentOverride> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> <AggregationCode>Campaign John Doe</AggregationCode> </Transactional> </AdvancedSettings> </FtpZip>
Create and send an email message
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>full</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> <EmailSubject>Campaign0009</EmailSubject> <Notes>Notes for campaign 00009</Notes> </Content> <AdvancedSettings> <Separator>;</Separator> <Attachments>false</Attachments> <DynamicFields>true</DynamicFields> <EmbeddedImages>false</EmbeddedImages> <LinkTracking>true</LinkTracking> <HttpLinkTracking>true</HttpLinkTracking> <HttpsLinkTracking>true</HttpsLinkTracking> <MailToTracking>false</MailToTracking> <FtpTracking>true</FtpTracking> <NewsTracking>true</NewsTracking> <QueryStringAdditionalParams></QueryStringAdditionalParams> <SendType>transactional</SendType> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> </Transactional> </AdvancedSettings> </FtpZip>
Create and send an email message and aggregate statisticsÂ
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>full</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> <EmailSubject>Campaign0009</EmailSubject> <Notes>Notes for campaign 00009</Notes> </Content> <AdvancedSettings> <Separator>;</Separator> <Attachments>false</Attachments> <DynamicFields>true</DynamicFields> <EmbeddedImages>false</EmbeddedImages> <LinkTracking>true</LinkTracking> <HttpLinkTracking>true</HttpLinkTracking> <HttpsLinkTracking>true</HttpsLinkTracking> <MailToTracking>false</MailToTracking> <FtpTracking>true</FtpTracking> <NewsTracking>true</NewsTracking> <QueryStringAdditionalParams></QueryStringAdditionalParams> <SendType>transactional</SendType> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> <AggregationCode>Campaign John Doe</AggregationCode> </Transactional> </AdvancedSettings> </FtpZip>
Create and send an email message with dedicated attachments for each subscriber
Settings.xml
<?xml version="1.0" encoding="UTF-8"?> <FtpZip> <Header> <ActionType>full</ActionType> <CampaignCode>Campaign0009</CampaignCode> <FormatVersion>0.1</FormatVersion> <NotifyEmail>peter@example.com</NotifyEmail> </Header> <Content> <ListId>1</ListId> <ListGUID>08c6348c-1e6b-4ae7-b44c-156fc4a7f012</ListGUID> <SenderName>John Doe</SenderName> <SenderEmail>john@doe.com</SenderEmail> <EmailSubject>Campaign0009</EmailSubject> <Notes>Notes for campaign 00009</Notes> </Content> <AdvancedSettings> <Separator>;</Separator> <Attachments>false</Attachments> <DynamicFields>true</DynamicFields> <EmbeddedImages>false</EmbeddedImages> <LinkTracking>true</LinkTracking> <HttpLinkTracking>true</HttpLinkTracking> <HttpsLinkTracking>true</HttpsLinkTracking> <MailToTracking>false</MailToTracking> <FtpTracking>true</FtpTracking> <NewsTracking>true</NewsTracking> <QueryStringAdditionalParams></QueryStringAdditionalParams> <SendType>transactional</SendType> <Transactional> <Username>sxxxxxxx</Username> <Password>xxxxxxxx</Password> <AggregationCode>Campaign John Doe</AggregationCode> <AttachmentField>Name of CSV Column</AttachmentField> </Transactional> </AdvancedSettings> </FtpZip>