Sending EMails from within C#-Application?

B

Boris Nienke

Hi,

and again the same old question ;-)

How can i send an EMail WITH ATTACHMENT(!!!) from within my own C#
application?
The clients had problems with the build in MS-Mail-Client (Settings lost
etc.) so i think a complete build-in-solution would be the best (a
config-file with smtp-server, name, passwort or something and then a build
in client to send out a file)

Are there any solutions available that i could use "out of the box" or
which are really simple to implement?

I need to send one file to a specific Mail-Adress.
The Application runs on a MDA-I device (with WM2003) so i like to use the
build-in modem (GPRS) - but that shouldn't be the applications problem,
right? (the system should connect to internet when an application calls it,
shouldn't it?)

Any ideas?

Second Problem: how secure is it to send the file via email? are there any
hints about crypting it? The Destination-System is coded in Delphi - so i
cannot use a C#-Decrypt-Algorithm

Boris
 
C

casey chesnut

for sending email, i would try IP*Works CF edition, it does SMTP.
i'm assuming it handles attachments.

i dont know specifically about email encryption standards?
you could encrypt the message yourself using my CF crypto stuff:
http://www.brains-N-brawn.com/spCrypt
and then send that in the message.

Thanks,
casey
 
B

Boris Nienke

yes, i know it's not possible with the CF itself.
But AFAIK i've read something about a ready-made tool which could be used
from within the CF. It don't need to be a free solution - it would be OK if
it's not too expensive (cannot pay $400 for such solution)

i'm sure i've read something about such tool/component/whatever (i've asked
that before) - but unfortunatly i cannot find it (my old newsgroup messages
are gone and i havn't found it with google yet)

boris
 
B

Boris Nienke

for sending email, i would try IP*Works CF edition, it does SMTP.
i'm assuming it handles attachments.

where can i find it?

i think the other one i remember was "mosework" or something like that -
but i cannot find it again... and "moseworkssoftware.com" is not available
anymore?

Boris
 
B

Boris Nienke

Ah, thanks, so it was a typo :)

little question about the demo-version: what is the limitation? I'm asking
because a cannot test it with the emulator - so i need a demo which is able
to send mails with attachments on the real device. Time-Limit, fixed
text-extension, etc... would be all OK - i really would to test it (and
maybe send a testversion to the main-client so that he can test it by
himself and tell me 'MAKE IT SO' or 'No that's not what i like' - you know,
i cannot decide that)

Boris
 
K

Kokie

I have tried IP*works for CE. It works but $400 (or more) is just too
much!!!!!!!!!!!!!!

They are including a lot of stuff there, but average user (ME) will use SMTP
with attachments (Filemailer) or/and POP3 and MIME of course :).

It is shame that Microsoft didn't support this in Windows CE. What they are
thinking, that mobile computer don't need emails ????? Nonsense! All IP
stuff should be supported by Win CE natively!

Kokie
 
K

Keith

The only limitation is a nag screen on the device. Otherwise, it is full
featured, and will work on devices as well as the emulator.
Keith Welch
 
L

Luis Cabrera [MSFT]

This is one feature that might be part of managed MAPI as shown at MDC.
It might be part of a future release.

Luis Cabrera [MSFT]
"This posting is provided "AS IS" with no warranties and confers no rights.
 
P

Paul G. Tobey [eMVP]

Let's see: $50/hour for your time...that's 12 hours worth to equal the cost
of the software...well worth it unless you already know a whole lot about
the protocols that you need to implement.

Paul T.
 
B

Boris Nienke

Oh, well - please stop to explain how to earn money in this group. Believe
me when i say: I KNOW IT!

But as a matter of fact: if i can get $300 for a software, i cannot buy ONE
solution for $500 just to be able to make my programm. Maybe you can
understand that.

I've never said, that IP*Works is NOT WORTH the money! NEVER! I've just
said: it's too expensive FOR ME (and my project)

so please stop to explain me things about Money per Hour, worth or not
worth ;-)

A Mercedes S500 is worth every penny (great car!) - but it's simply too
expensive for me to drive 30 Miles to work and back home.... a Renault or
Toyata or even a SMART is doint this job very well for 1/10 of the price of
the mercedes (of course: without navigation, air condition, ....)

Boris
 
C

Chris Tacke, eMVP

I think Paul was trying to make a point about the value of money. What is
your time worth? If a tool costs $300, then that can directly equate to
hours.

If you are a consulting company and you bill $100/hr, that's only 3 hours.
If you're an independent contractor and you bill $60/hr that's only 5 hours.
If you work for pretty low wages and only bill $30/hr then it's 10 hours.
If you feel you're only worth what a cashier at Wal-Mart makes it's probably
about 30 hours.

In any case, it's less than a week's worth of wages.

So then you look at the tool. Could you write the IP*Works tool in under a
week (I know I couldn't)? Can you replicate the functionality you need from
the library in less than a week (I assume you don't need everything it
offers for this project)? Will you every do another project where you might
again use the tool?

To me it's a pretty simple business equation, and for *me* it's well worth
$300. I have purchased several 3rd party tools using this logic and have
never been dissatisfied. You simply need to do the math based on your own
time as money coefficient.
 
B

Boris Nienke

OH WELL :))))

i've said: STOP THIS!

BELIEVE ME - i REALLY know this! I CANNOT write ip*works in a week - but
that's futile

if i have a budget of $100 i cannot buy something for $500 - it's that
simple!
Why are you guys allways trying to tell me how to calculate a price for a
piece of software? I'm not coding software since days - i'm doing it for
years ;-)

so, please stop it.
When someone here is searching for a solution and is telling, that a
solution for $500 is too expensive - then the solution is not getting
better when you start to calculate how many hours are $500.... you know?

OK, i will check out some "cheaper" solutions this weekend.

Boris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top