creating email addresses dynamically c#

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?
scm0smlAsked:
Who is Participating?
 
scm0smlAuthor Commented:
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
 
Roopesh ReddyIT AnalystCommented:
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
 
Alan WarrenApplications DeveloperCommented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Gary DavisDir Internet SvcsCommented:
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
 
scm0smlAuthor Commented:
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
 
Roopesh ReddyIT AnalystCommented:
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
 
scm0smlAuthor Commented:
Had some decent input but went down a different route in the end.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.