inwise Top Background
Arrow on Service

Email Marketing API-Part B

InwiseWebServices API Center

https://www.em-sender.com/ws/inwiseservice.asmx

An EmailMessage details. EmailMessage is used for defining parameters and data for an email message.

Parameters:

Name Type Required Description
Id String No The message unique Id (used for tracking and statistics)
Body String Yes The email body
Charset String No The message encoding
Name String Yes The campaign internal name
Subject String Yes The email subject
SenderName String No The name of the sender in the email
ToName String No The name of the recipient (you can use custom fields for personalization)
SenderEmail String No The email address of the sender (Please note the values are limited, please consult support if you're not sure)
ReplyTo String No The email address for replies

Java Code:

    EmailMessage message = new EmailMessage();
    message.setName(name);
    message.setBody("hi #field1#");
    message.setId(theEmailMessageId);
    message.setSubject("Holidays are coming");

C# Code:

    EmailMessage message = new EmailMessage();

    message.Name = name;

    message.Body = "hi #field1#";

    message.Subject = "Holidays are coming";

    message.Id = theEmailMessageId;

VB Code:

            Dim message As New EmailMessage()

            message.Name = name

            message.Body = "hi #field1#"

            message.Subject = "Holidays are coming"

            message.Id = theEmailMessageId

Raw Xml:

    <source xsi:type="EmailMessageSendingSource">

        <Message>

            <Id>638</Id>

            <Body>Hi #field1#</Body>

            <Charset>utf-8</Charset>

            <Name>Internal Name</Name>

            <Subject>Email Subject</Subject>

            <SenderName>Sender Name</SenderName>

            <ReplyTo>Reply Email</ReplyTo>

            <SenderEmail>Sender Email</SenderEmail>

            <ToName>[first name]</ToName>

        </Message>

    </source>




Home  |  About us  |  Products  |  Service  |  Partners  |  Forum  |  Email Marketing Terms  |  Support  |  Contact us
Terms & Conditions  |  Privacy Policy  |  Anti Spam Policy  |  Site Map
© 2008 inwise LTD. All rights reserved.