How to receive e-mails in a silverlight application? - c#

I'm wondering whether anyone can help me with how to set up mailboxes for my silverlight application users.
Sending e-mails was simple enough, but now it seems to get tricky.
How do I implement an IMAP or POP3 service?
I've followed a couple of questions here on SO, but the answer is still eluding me...
Can anyone maybe send me a in general direction?
Any useful answers would be very much appreciated.

You can use the MailSystem.Net (LGPL). It provides full support for SMTP, POP3, IMAP4, NNTP, MIME, S/MIME, OpenPGP, DNS, vCard, vCalendar, Anti-Spam (Bayesian , RBL, DomainKeys), Queueing, Mail Merge and WhoIs.

Never tried this but heard of it one time:
http://www.emailyak.com/

Related

Twilio Matching Orginial Message

Send SMS Message to user - Response gets me a SID (SMf57da38aeceXXXXXXdb393a0f23d2) which i store in database.
Clients replys to SMS message - How do I get SID from step 1?
Most other SMS API's I've dealt with send back a reply_to parameter. I've looked through lots of Twilio docs but I'm struggling to find the answer.
Thanks,
Twilio evangelist here.
Each individual message is an atomic unit, as this is how text messages are meant to be. However, there are still things you can do to make those messages relate to each other. One way I see a lot of people doing is by relating messages to the phone number, and then ordering them by the date/time stamp.
This will work just fine 9 out of 10 times, and will always guarantee you are following a chain of messages on the correct order.
Let me know if you have a specific situation where such approach wouldn't suffice.
I'm a Twilio developer evangelist too, hello!
I have another idea that might help you. You can actually set a cookie to tie messages together over time. There's a guide on getting started with that in C# here.
Let me know if this helps.

C# Mail Server?

I'm trying to understand exactly what it is I need to be implementing and am just after a little guidance. I know very little about email standards such as POP3, IMAP, SMTP which is probably what's making the getting started difficult.
What'd I'd like to do consists of a couple of things:
Be notified of the arrival of an email at a specific custom address. e.g. hi.me#myapp.com.
Handle multiple addresses per user.
Be able to process this email and either delete it, leave it and be able to display in a web email client or forward it on based on various rules.
I've seen a few SMTP libraries and a POP3 one, but I'm not 100% sure what I need to do this. I'm guessing the best way would be to write a full C# mail server - but I'm hoping for a little guidance/suggestion.
Thanks
If you really want to build a mailserver from scratch, the protocol specifications are all available as RFCs.
For IMAP that would be RFC-3501 and for SMTP RFC-2821, you can google for the rest.
I've been working on a C# SMTP server in my (very limited) spare time, mostly out of frustration with existing MTAs and as an exercise in C# server programming. I can tell you that there's a bit more to it than you might think. So if you want fast results, I'd seriously consider hooking into an existing MTA/mailserver setup.
Depending on how fast you want to process messages, it may be sufficient to poll one or more mailboxes. You could process the messages and, for example, forward them to another mailbox using the built-in .NET SmtpClient.
On top of that, all mail servers I know of implement not just the SMTP protocol but also a slew of anti-spam measures. Most of these measures have matured over many years. You get all that for free if you build on top of an existing mail server infrastructure.
Then again, configuration of just about any mail server I know seems to be a fine art, hence my frustration with them.

Having connection to Latest Yahoo Messenger Protocol in C#

I want to program a simple GUI to connect to Yahoo! Protocol and act as a messengers which use them now. So, could any one describe Yahoo! Protocol structure ( Please help me in using of latest version of this protocol ).
Thanks about your attention.
I think you will find these links helpful as they describe several aspects the Yahoo! Protocol...
http://sourceforge.net/projects/ycs/
http://www.ycoderscookbook.com/
http://www.codeproject.com/KB/vb/YCC_Trainer.aspx
Yahoo Messenger Library C#
http://www.carbonize.co.uk/ymsg16.html
http://libyahoo2.sourceforge.net/
http://www.venkydude.com/articles/yahoo.htm
some general information http://en.wikipedia.org/wiki/Yahoo!_Messenger_Protocol

c# imap/pop3 mail server

I have searched all over the web for a solution for this situation.
I created an application using a PowerTCP component to receive and change mails(Imap/pop3)
I created a new object for them and now all I want is to create a server*(Mail Server)* that uses Imap or pop3 mails to receive and sends mails with SMTP.
I know that I need to use specific ports for it.
What I want to know is how can I create an imap/pop3 object from my C# object(my class , properties, ext) using c# to send to the client email application (like outlook). I searched a lot for this and found nothing.
I don't want to use any "close" server application for this because that I want to change
Do I need to create it from the beginning or there is any ready to use solution for this.
do you have any suggestion code template ext...
TIA
Michal
Check out this site, it has examples of how to implement SMTP/POP
http://www.codeproject.com/KB/IP/Pop3MailClient.aspx
C#'s built in classes are pretty stable, use SMTP and POP3.
Good luck!
I believe S22.Imap is the most popular general IMAP protocol API in Nuget.

How to generate bounce-back email notification, with some extra info included

I am just now beginning to research this, and so far haven't come up with much. So, I'm hoping you guys can help me, or point me in some sort of direction.
I am in a situation in which I need to somehow be able to detect a failed email delivery and/or bounced-back email. Then, I need to be able to sent out a notification email describing this failure, as well as include some other, specific information in the notification email as well.
At the moment, I really have no idea how to do this. The email system we have now involves some C#.NET managed code, which send the email via an SMTP Exchange server. So, my initial thoughts are that I might be able to use email header information to accomplish this, but I'm not terribly family with all of the available email headers. I am also not at all opposed to finding and using some sort of third-party solution, but again, I'm not familiar with any such solutions or solution providers, and so I am very open to suggestions there too.
Are you using the SMTPClient class? If so, there's a SmtpFailedRecipientsException that would help you accomplish what you need.
Examples and further information given here:
http://msdn.microsoft.com/en-us/library/system.net.mail.smtpfailedrecipientsexception.aspx
Not sure if you want to download messages from an IMAP server or a POP3 server. If it's the case, you may want to check out the Ultimate Bounce Inspector component. It also let you process EML files.
You can use PostMark which allows you to programmatically process bounced emails.

Categories

Resources