+1 vote

Hello,

We are building a reputation management platform with a social helpdesk.
We already integrated all the major social media channels.

We plan to add email for receiving and sending support emails.

Use case is A business will use support@business.com as their support email.

Now i should be able to provide my credentials through our platform to receive and send email for the above specific email address.

For this use cases, can this product can be used.

Our backend stack is .net core 6.0.

by

1 Answer

0 votes

Yes Mail.dll can do that.

For example here's a code that shows how to receive unseen emails using IMAP protocol:

using(Imap imap = new Imap())
{
    imap.ConnectSSL("imap.example.com");
    imap.UseBestLogin("user", "password");

    imap.SelectInbox();
    List<long> uids = imap.Search(Flag.Unseen);

    foreach (long uid in uids)
    {
        IMail email = new MailBuilder()
            .CreateFromEml(imap.GetMessageByUID(uid));
        Console.WriteLine(email.Subject);
    }
    imap.Close();
}

Mail.dll supports all .net framework versions and all .net (core) versions.

You'll have no problems using it in .net 6.0:
https://www.limilabs.com/mail/download

Take a look at other samples here:
https://www.limilabs.com/mail/samples

by (301k points)
...