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

Re: Sending EMails from within C#-Application? by casey

casey
Mon May 10 10:40:50 CDT 2004

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

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:1foapoxbuim2j$.1uyvdbbe2e9h$.dlg@40tude.net...
> 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



Re: Sending EMails from within C#-Application? by Boris

Boris
Tue May 11 02:11:38 CDT 2004

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

On Mon, 10 May 2004 07:21:08 -0700, marcmc wrote:

> In a word it cannot be done(oops thats 7)
> You could attempt to write your own dll, i have left it as the doc i want to attache is only two taps away.
>
> dunno bout crypting stuff.

Re: Sending EMails from within C#-Application? by Boris

Boris
Tue May 11 02:27:14 CDT 2004

On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:

> 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

Re: Sending EMails from within C#-Application? by Keith

Keith
Tue May 11 07:23:58 CDT 2004

It would be http://www.mooseworkssoftware.com. We do have an email
component. It uses Pocket Outlook rather than raw SMTP. Hope this helps.
Keith Welch
Mooseworks Software

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
>
> > 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



Re: Sending EMails from within C#-Application? by Boris

Boris
Tue May 11 07:53:44 CDT 2004

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

On Tue, 11 May 2004 08:23:58 -0400, Keith wrote:

> It would be http://www.mooseworkssoftware.com. We do have an email
> component. It uses Pocket Outlook rather than raw SMTP. Hope this helps.
> Keith Welch
> Mooseworks Software
>
> "Boris Nienke" <nospam@nsonic.de> wrote in message
> news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
>> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
>>
>>> 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

Re: Sending EMails from within C#-Application? by casey

casey
Tue May 11 09:00:07 CDT 2004

you can do your own google search for 'ipworks'
casey
http://www.brains-N-brawn.com


"Boris Nienke" <nospam@nsonic.de> wrote in message
news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
>
>> 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



Re: Sending EMails from within C#-Application? by Kokie

Kokie
Tue May 11 08:22:52 CDT 2004

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




"Keith" <keith@no_spam_mooseworkssoftware.com> wrote in message
news:OBwb9I1NEHA.1644@TK2MSFTNGP09.phx.gbl...
> It would be http://www.mooseworkssoftware.com. We do have an email
> component. It uses Pocket Outlook rather than raw SMTP. Hope this helps.
> Keith Welch
> Mooseworks Software
>
> "Boris Nienke" <nospam@nsonic.de> wrote in message
> news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> > On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
> >
> > > 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
>
>



Re: Sending EMails from within C#-Application? by Alex

Alex
Tue May 11 09:23:05 CDT 2004


Take a look at my today's blog entry:

http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=53260a37-c41c-42df-9a6d-6a61bf5c5317

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:1raozryycbazd$.q71g7owcsrjx$.dlg@40tude.net...
> 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
>
> On Mon, 10 May 2004 07:21:08 -0700, marcmc wrote:
>
> > In a word it cannot be done(oops thats 7)
> > You could attempt to write your own dll, i have left it as the doc i
want to attache is only two taps away.
> >
> > dunno bout crypting stuff.



Re: Sending EMails from within C#-Application? by Keith

Keith
Tue May 11 10:54:08 CDT 2004

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

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:gedirqh1kmue.s752k3jqopj9$.dlg@40tude.net...
> 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
>
> On Tue, 11 May 2004 08:23:58 -0400, Keith wrote:
>
> > It would be http://www.mooseworkssoftware.com. We do have an email
> > component. It uses Pocket Outlook rather than raw SMTP. Hope this helps.
> > Keith Welch
> > Mooseworks Software
> >
> > "Boris Nienke" <nospam@nsonic.de> wrote in message
> > news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> >> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
> >>
> >>> 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



Re: Sending EMails from within C#-Application? by Boris

Boris
Tue May 11 14:15:02 CDT 2004

On Tue, 11 May 2004 09:00:07 -0500, casey chesnut wrote:

> you can do your own google search for 'ipworks'

*LOL* ... i've searched WITH that star '*' ... without it's much better
;)

thanks

Boris

Re: Sending EMails from within C#-Application? by Boris

Boris
Tue May 11 14:20:56 CDT 2004

OK, MUCH too expensive! $599,- and up... sorry no way

boris

On Tue, 11 May 2004 09:00:07 -0500, casey chesnut wrote:

> you can do your own google search for 'ipworks'
> casey
> http://www.brains-N-brawn.com
>
>
> "Boris Nienke" <nospam@nsonic.de> wrote in message
> news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
>> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
>>
>>> 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

Re: Sending EMails from within C#-Application? by Luis

Luis
Tue May 11 14:28:07 CDT 2004

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.

--

"Alex Yakhnin [MVP]" <a.yakhnin@online.att.net> wrote in message
news:eIyzmN2NEHA.2560@TK2MSFTNGP11.phx.gbl...
>
> Take a look at my today's blog entry:
>
>
http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=53260a37-c41c-42df-9a6d-6a61bf5c5317
>
> --
> Alex Yakhnin .NET CF MVP
> www.intelliprog.com | www.opennetcf.org
>
> "Boris Nienke" <nospam@nsonic.de> wrote in message
> news:1raozryycbazd$.q71g7owcsrjx$.dlg@40tude.net...
> > 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
> >
> > On Mon, 10 May 2004 07:21:08 -0700, marcmc wrote:
> >
> > > In a word it cannot be done(oops thats 7)
> > > You could attempt to write your own dll, i have left it as the doc i
> want to attache is only two taps away.
> > >
> > > dunno bout crypting stuff.
>
>



Re: Sending EMails from within C#-Application? by Paul

Paul
Tue May 11 14:30:41 CDT 2004

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.

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:1opvg34e3acrl$.gwl8jnxxfyec.dlg@40tude.net...
> OK, MUCH too expensive! $599,- and up... sorry no way
>
> boris
>
> On Tue, 11 May 2004 09:00:07 -0500, casey chesnut wrote:
>
> > you can do your own google search for 'ipworks'
> > casey
> > http://www.brains-N-brawn.com
> >
> >
> > "Boris Nienke" <nospam@nsonic.de> wrote in message
> > news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> >> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
> >>
> >>> 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



Re: Sending EMails from within C#-Application? by Boris

Boris
Wed May 12 01:34:36 CDT 2004

On Tue, 11 May 2004 10:23:05 -0400, Alex Yakhnin [MVP] wrote:

> Take a look at my today's blog entry:
>
> http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=53260a37-c41c-42df-9a6d-6a61bf5c5317

i have seen it.
And asked:
- what about SMTP-Authentification? How can it be done?

Boris

Re: Sending EMails from within C#-Application? by Boris

Boris
Wed May 12 01:40:15 CDT 2004

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

On Tue, 11 May 2004 12:30:41 -0700, Paul G. Tobey [eMVP] wrote:

> 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.
>
> "Boris Nienke" <nospam@nsonic.de> wrote in message
> news:1opvg34e3acrl$.gwl8jnxxfyec.dlg@40tude.net...
>> OK, MUCH too expensive! $599,- and up... sorry no way
>>
>> boris
>>
>> On Tue, 11 May 2004 09:00:07 -0500, casey chesnut wrote:
>>
>>> you can do your own google search for 'ipworks'
>>> casey
>>> http://www.brains-N-brawn.com
>>>
>>>
>>> "Boris Nienke" <nospam@nsonic.de> wrote in message
>>> news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
>>>> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
>>>>
>>>>> 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

Re: Sending EMails from within C#-Application? by Chris

Chris
Wed May 12 08:33:51 CDT 2004

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.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Boris Nienke" <nospam@nsonic.de> wrote in message
news:jwxapqsfp8k0.jestx9t3vuf7$.dlg@40tude.net...
> 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
>
> On Tue, 11 May 2004 12:30:41 -0700, Paul G. Tobey [eMVP] wrote:
>
> > 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.
> >
> > "Boris Nienke" <nospam@nsonic.de> wrote in message
> > news:1opvg34e3acrl$.gwl8jnxxfyec.dlg@40tude.net...
> >> OK, MUCH too expensive! $599,- and up... sorry no way
> >>
> >> boris
> >>
> >> On Tue, 11 May 2004 09:00:07 -0500, casey chesnut wrote:
> >>
> >>> you can do your own google search for 'ipworks'
> >>> casey
> >>> http://www.brains-N-brawn.com
> >>>
> >>>
> >>> "Boris Nienke" <nospam@nsonic.de> wrote in message
> >>> news:13e0f5xinbphu$.o6xykqdag2gw.dlg@40tude.net...
> >>>> On Mon, 10 May 2004 10:40:50 -0500, casey chesnut wrote:
> >>>>
> >>>>> 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



Re: Sending EMails from within C#-Application? by Alex

Alex
Wed May 12 09:32:49 CDT 2004

http://www.codeproject.com/csharp/smtpauthlogin.asp

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

"Boris Nienke" <nospam@nsonic.de> wrote in message
news:9jt89l0alpfi.mprngltshx6f$.dlg@40tude.net...
> On Tue, 11 May 2004 10:23:05 -0400, Alex Yakhnin [MVP] wrote:
>
> > Take a look at my today's blog entry:
> >
> >
http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=53260a37-c41c-42df-9a6d-6a61bf5c5317
>
> i have seen it.
> And asked:
> - what about SMTP-Authentification? How can it be done?
>
> Boris



Re: Sending EMails from within C#-Application? by Boris

Boris
Thu May 13 02:39:09 CDT 2004

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

On Wed, 12 May 2004 09:33:51 -0400, Chris Tacke, eMVP wrote:

> 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.