URGENT : sending emails from a VB application into Pocket Pc MAPI

R

Roshan Jayalath

Hi dear all,

Im doing programming for Pocket PC 2003 in Vb.Net. I want to send emails
from a VB.Net application into the outbox of the pocket outlook MAPI so the
mail will be sent when the PDA goes online.

Is there any free VB.Net wrapper for Pocket Pc MAPI as Im not familiar with
C++ or is there an easy way to manipulate MAPI in my code itself to achive
this ?

Thanks,
Roshan Jayalath
 
R

Roshan Jayalath

Dear Ginny,

I downloaded the mooseworks components but it does not have any
documentation to be downloaded . Is it possible for you to give me a sample
to open a mapi session and to send an email using it please .?

Best regards,
Roshan Jayalath
 
K

Keith Welch

Hi Roshan,
There should be some docs installed in the installation directory (usually
C:\Program Files\Mooseworks Software\Communication). We also have samples
available. Just contact the support email (support at
mooseworkssoftware.com) if you have any questions. Thanks,
Keith Welch
Mooseworks Software
 
R

Roshan Jayalath

Hi Ginny and Keith,

It was a real good and fast reply and im very happy about your client
support Keith.

There was samples but they were in C#. The C# sample was working very well.
But when I implemented the same code in Vb.Net it didnt work. It doesnt
crash but the mail is not sent to the mail client as well.

The steps I did was (roughly)
References were added for mooseworks and mooseworks.Sendmail

IMPORTS MOOSEWORKS
IMPORTS MOOSEWORKS.SENDEMAIL

DIM loEmailer AS Mooseworks.Sendemail
loEmailer = New Mooseworks.Sendemail

Assign the properties To, Body and subject and didnt assigned Cc and
Attachments. Called Mooseworks.Operate( ) method to send the mail. No error
occurs. But the mail is not sent. Something else I noted is in C# project
(Sample) the sendmail was there as an object (Like when you add a normal
timer object ) for SendMail. But in Vb project there wasnt such an object.
Also I noted when I install other third party tools a new tool bar comes for
them. But for mooseworks it didnt came and i couldnt find it in the com
components to be added list as well.

But note that the C# sample worked excellently. Can you find out what went
wrong ?

Best regards,
Roshan Jayalath
 
R

Roshan Jayalath

Hi Ginny and Keith,

It was a real good and fast reply and im very happy about your client
support Keith.

There was samples but they were in C#. The C# sample was working very well.
But when I implemented the same code in Vb.Net it didnt work. It doesnt
crash but the mail is not sent to the mail client as well.

The steps I did was (roughly)
References were added for mooseworks and mooseworks.Sendmail

IMPORTS MOOSEWORKS
IMPORTS MOOSEWORKS.SENDEMAIL

DIM loEmailer AS Mooseworks.Sendemail
loEmailer = New Mooseworks.Sendemail

Assign the properties To, Body and subject and didnt assigned Cc and
Attachments. Called Mooseworks.Operate( ) method to send the mail. No error
occurs. But the mail is not sent. Something else I noted is in C# project
(Sample) the sendmail was there as an object (Like when you add a normal
timer object ) for SendMail. But in Vb project there wasnt such an object.
Also I noted when I install other third party tools a new tool bar comes for
them. But for mooseworks it didnt came and i couldnt find it in the com
components to be added list as well.

But note that the C# sample worked excellently. Can you find out what went
wrong ?

Best regards,
Roshan Jayalath
 
K

Keith Welch

Hi Roshan,
Since this is a commercial product, I'll respond to you privately at your
email address. I'm not sure Microsoft wants to sponsor a support forum for
Mooseworks Software :).
Keith Welch
Mooseworks Software
 
R

Roshan Jayalath

Hi all,

I found the problem and got email working properly. Problem was a dll needed
was not copied to the pocket pc .

Best Regards,
Roshan Jayalath.
 

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