?
Solved

creating email addresses dynamically c#

Posted on 2012-08-26
8
Medium Priority
?
589 Views
Last Modified: 2012-09-02
I have a requirement by where I need to be able to give a user a dynamically created email address that they can send a picture to so we can then pick the image up at that address and link it to the user.

What is the normal way of doing this?

We can't tell them to name the image something specific or anything like that so ideally would need them to be able to send to a specific address created on the fly by us.

Any ideas?
0
Comment
Question by:scm0sml
7 Comments
 
LVL 23

Assisted Solution

by:Roopesh Reddy
Roopesh Reddy earned 1000 total points
ID: 38334558
Hi,

I think you are looking for something like Disposable Mail adrress - http://www.yopmail.com/en/

It's a service available! You can google for "Disposable Mail address"!

Hope it helps u...
0
 
LVL 26

Expert Comment

by:Alan Warren
ID: 38334917
What is the normal way of doing this?

The usual thing would be to get an email address from the user during the sign up process.

You would then fire off a confirmation email to email address provided by the user, with something like "Please click here to confirm your email address" in the body.

If the user responds, confirming their email, you fire off another email, welcoming the new user to the community, in which you would provide some "getting started" info and possibly a copy of their login credentials.

In either case the email address the user sends mail to is the 'ReplyTo" address contained in the headers of the email messages you send. So you could simply say, please reply to this email, attaching a portrait photo of yourself...

Sending Email in ASP.NET 2.0: Reply-To, Priority, and Read Receipts
http://aspnet.4guysfromrolla.com/articles/101707-1.aspx

You don't need to provide users with an email address, they would be thinking "oh no, not another email account to manage!". All you need to do is monitor the ReplyTo email account on your mail server.

Alan ";0)
0
 
LVL 18

Assisted Solution

by:Gary Davis
Gary Davis earned 1000 total points
ID: 38335004
Well you could have a single email address for receiving the images and then the user would have to provide some way of tying it to the account. Using a dynamically generated email would mean they would not have to provide the account since you would already know who they are.

So the email address (user id) should be based in their account identifier, either their account ID or user ID so you would know where the image belongs. That seems like the easiest way. Just make sure the email user id is a valid and non-conflicting id.

A better way would be to let them upload the image from a web page on the site.

Gary Davis
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:scm0sml
ID: 38336189
Alan - I think you are getting my requirements conused.

Gary - I don't really want to be putting the responsibility of tying the image to the user onto the user.

Hence not wanting to tell them to name the image something particular etc

Roopeshreddy - I would need to integrate the email into my c# code, is that the kind of thing that is possible with your idea?
0
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38337490
Hi,

That the tricky part! I didn't find any API's available for that!

You may have to develop your own stuff like that!

Thanks!
0
 

Accepted Solution

by:
scm0sml earned 0 total points
ID: 38341463
Right just to let you know we decided to use this:
http://www.limilabs.com/mail

Basically we are going to get the user to put a given code into the subject of the email.

We can then link things that way without having to go through the hassle of trying to create these emails on the fly.
0
 

Author Closing Comment

by:scm0sml
ID: 38358425
Had some decent input but went down a different route in the end.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question