Table of Contents

MMS notifications

MMS Notification

After creating a MMS content and placing it on a web server, you can tell MMS compatible mobile phone to retrieve the content.

var smList = MMS.Notification(new MMSNotification
{
    TransactionId = "NOK5CyhldCAWF",
    From = "+79171234567/TYPE=PLMN",
    MessageClass = MMSMessageClass.Personal,
    MessageSize = 858,
    Expiry = TimeSpan.FromDays(30),
    ContentLocation = "http://test.com/resources/NOK5CyhldCAWFygAxJ"
})
    .TransactionId(0x41);

await _client.SubmitAsync(smList);

MMS Delivery

When MMS Content was received from another MMS client, you can notify sender that receipient retrieved the content.

var smList = MMS.Delivery(new MMSDelivery
{
    MessageId = "041310322550000000004",
    To = "+79171234567/TYPE=PLMN",
    Date = new DateTime(2020, 4, 13, 12, 32, 40),
    Status = MMSStatus.Retrieved
})
    .TransactionId(0x42);

await _client.SubmitAsync(smList);