Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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>Mane of CSV Column</AttachmentField>
		</Transactional>
    </AdvancedSettings>
</FtpZip>
  • No labels