PC Review


Reply
Thread Tools Rate Thread

Default email client with attachment

 
 
Darin
Guest
Posts: n/a
 
      24th Aug 2004
Currently, our software is creating an email message using the Outlook
DLL to send emails out that have PDF attachments. I want to stop forcing
the customer to use outlook to send email.
So, I know I can use "mailto" to send email, but what methodology should
I use to send email using the default mail client WITH an attachment.

Thanks

Darin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      24th Aug 2004
Darin,

> So, I know I can use "mailto" to send email, but what methodology should
> I use to send email using the default mail client WITH an attachment.


You cannot

Cor


 
Reply With Quote
 
Darin
Guest
Posts: n/a
 
      24th Aug 2004
So my only choice would be my current solution (forcing Outlook), or use
the SMTP mail examples that I have seen - right?

Darin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      24th Aug 2004
Exactly

> So my only choice would be my current solution (forcing Outlook), or use
> the SMTP mail examples that I have seen - right?
>

Exchange/Office Outlook of course and not Outlook Expres and than SMTP mail
only on NT5 and newer.

Cor


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Aug 2004
* Darin <darin_nospam@nospamever> scripsit:
> Currently, our software is creating an email message using the Outlook
> DLL to send emails out that have PDF attachments. I want to stop forcing
> the customer to use outlook to send email.
> So, I know I can use "mailto" to send email, but what methodology should
> I use to send email using the default mail client WITH an attachment.


There is no standardized way to do that. Some mail clients will
interpret 'attach' or 'attachment', but AFAIK the most common mail
client, Outlook Express, doesn't understand these commands.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
 
=?Utf-8?B?Z2FiZQ==?=
Guest
Posts: n/a
 
      27th Oct 2004
but you could use MAPI. I have a vb.net project that is rather successful
using simple mapi. it supports attachments and seems to work with eudora
outlook and outllok express. i'm thinking it would work with other mapi
compatible email clients

gabe

"Cor Ligthert" wrote:

> Darin,
>
> > So, I know I can use "mailto" to send email, but what methodology should
> > I use to send email using the default mail client WITH an attachment.

>
> You cannot
>
> Cor
>
>
>

 
Reply With Quote
 
Marc Cramer
Guest
Posts: n/a
 
      28th Oct 2004
Hello...

I saw the following message (below) on the newsgroup and was wondering
if you could share the vb.net project with me.

I would really like to see how you are accomplishing this.

Thanks,

Marc Cramer
cramer236 @ comcast . net

gabe wrote:

> but you could use MAPI. I have a vb.net project that is rather successful
> using simple mapi. it supports attachments and seems to work with eudora
> outlook and outllok express. i'm thinking it would work with other mapi
> compatible email clients
>
> gabe
>
> "Cor Ligthert" wrote:
>
>
>>Darin,
>>
>>
>>>So, I know I can use "mailto" to send email, but what methodology should
>>>I use to send email using the default mail client WITH an attachment.

>>
>>You cannot
>>
>>Cor
>>
>>
>>

 
Reply With Quote
 
=?Utf-8?B?Z2FiZQ==?=
Guest
Posts: n/a
 
      7th Nov 2004
marc,
the code in the sub looks alot like this:

Dim Session As New MSMAPI.MAPISession
Session.LogonUI = True
Session.DownLoadMail = False
Session.SignOn()
Dim Messages As New MSMAPI.MAPIMessagesClass
Messages.SessionID = Session.SessionID
Messages.Compose()
Messages.RecipDisplayName = txtMessageTo.Text
Messages.MsgNoteText = txtMessageBody.Text
Messages.MsgSubject = txtMessageSubject.Text
Messages.ResolveName()
Messages.Send(False)
Session.SignOff()

this was done with a reference to msmapi32.ocx
(Microsoft MAPI Controls 6.0)
and if memory serves it was *heavily* influenced by one of the most useful
books
that i have ever read,
"Microsoft Visual Basic .NET Programmer's Cookbook"



"Marc Cramer" wrote:

> Hello...
>
> I saw the following message (below) on the newsgroup and was wondering
> if you could share the vb.net project with me.
>
> I would really like to see how you are accomplishing this.
>
> Thanks,
>
> Marc Cramer
> cramer236 @ comcast . net


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Third party email client as default mail client Still learning Windows XP General 1 7th Jul 2008 02:28 PM
Excel VBA macro to send email attachment from default email client wifigoo Microsoft Excel Programming 2 12th Apr 2008 03:54 PM
Send an email with attachment through default email client Ben K Microsoft C# .NET 5 16th Apr 2007 10:20 PM
Open Default Email Client with Attachment =?Utf-8?B?SGFuaWth?= Microsoft Dot NET 2 22nd Sep 2006 08:51 AM
Launch default e-mail client with attachment Kurt Microsoft VB .NET 3 10th Apr 2004 07:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:45 AM.