Board index » delphi » Re: Exists somebody that can realy help me with MAPI (email) ?

Re: Exists somebody that can realy help me with MAPI (email) ?


2006-06-14 09:32:01 PM
delphi148
Not sure I understand your question...
Anyway, why do you want to use MAPI ?
You may use a SMTP component such as ICS, indy or sinapse. All 3 are free
and mainly differ in their programming model.
If you select ICS which is asynchronous and event driven, then download the
full source code from www.overbyte.be and have a look at the MailSnd
and MailHtml demos. Then ask for your questions in ICS support mailing list.
Contribute to the SSL Effort. Visit www.overbyte.be/eng/ssl.html
"Beto Neto" <XXXX@XXXXX.COM>a écrit dans le message de
Quote
I friends...

I'm tired and going CRAZY!!!

I'm trying to generate a email using the MAPI.

The email with this specifications:
- 1 suject
- X address
- 1 body as **HTML** formated text
- X attachments

Then the default email client open the message. If the user want to change
something in the message, he can. Now he will cofirm if the email will be
sent or not!!!

Exists a way to generate this using a FREE code!?!?!?
I don't want to pay a source code to make this, I need a FREE OPEN SOURCE
soluction, please :D

Thanks, a lot!!!!
bye!


 
 

Re: Exists somebody that can realy help me with MAPI (email) ?

Quote
Resuming...
I need to open the default email client and create a new message with
Attachments and the mesasge body as HTML...
How can I do this ?
I think it is simply not possible with "the default mail client".
Why do you want to use the "default mail client" ?
As I told you, it is easy to do using a SMTP component.
btw: You where talking about MAPI in your previous message, not the "default
mail client". And you are still talking about it in your subject.
Contribute to the SSL Effort. Visit www.overbyte.be/eng/ssl.html
Quote


"Francois Piette [ICS & Midware]" <XXXX@XXXXX.COM>escreveu
na
mensagem news:XXXX@XXXXX.COM...
>Not sure I understand your question...
>Anyway, why do you want to use MAPI ?
>You may use a SMTP component such as ICS, indy or sinapse. All 3 are
free
>and mainly differ in their programming model.
>If you select ICS which is asynchronous and event driven, then download
the
>full source code from www.overbyte.be and have a look at the
MailSnd
>and MailHtml demos. Then ask for your questions in ICS support mailing
list.
>
>Contribute to the SSL Effort. Visit www.overbyte.be/eng/ssl.html
>--
>XXXX@XXXXX.COM
>Author of ICS (Internet Component Suite, freeware)
>Author of MidWare (Multi-tier framework, freeware)
>www.overbyte.be
>
>"Beto Neto" <XXXX@XXXXX.COM>a écrit dans le message de
>news:XXXX@XXXXX.COM...
>>I friends...
>>
>>I'm tired and going CRAZY!!!
>>
>>I'm trying to generate a email using the MAPI.
>>
>>The email with this specifications:
>>- 1 suject
>>- X address
>>- 1 body as **HTML** formated text
>>- X attachments
>>
>>Then the default email client open the message. If the user want to
change
>>something in the message, he can. Now he will cofirm if the email will
be
>>sent or not!!!
>>
>>Exists a way to generate this using a FREE code!?!?!?
>>I don't want to pay a source code to make this, I need a FREE OPEN
SOURCE
>>soluction, please :D
>>
>>Thanks, a lot!!!!
>>bye!
>>
>>
>
>


 

Re: Exists somebody that can realy help me with MAPI (email) ?

Quote
- 1 body as **HTML** formated text
- X attachments
Using MAPI the only way to get a HTML message is attach your HTML code to
a blank (no body) message; the HTML attachment must be the first
attachment.
--- posted by geoForum on delphi.newswhat.com
 

Re: Exists somebody that can realy help me with MAPI (email) ?

Francois Piette [ICS & Midware] writes:
Quote
I think it is simply not possible with "the default mail client".
in fact it is. MAPI tries to use the mail client set as default in the
OS. I once used it but with plain text body only. Never tried with HTML.
Quote
Why do you want to use the "default mail client" ?
almost surely to have a copy of the sent e-mail in the outbox of the
mail client. Still, I don't know his case.
In mine I made a little app for a coworker who needed to send a lot of
files from time to time. As some mail servers have limitations for
e-mail size he asked if it would be possible to send them automatically
in different mails *and* have them also in the Sent basket from OE.
Sort of 1-file-per-email app
Btw, I used Andrew Jameson's same MAPI code he has posted in the other
thread, which he nicely sent me and for that he appears in the credits
:)
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
 

Re: Exists somebody that can realy help me with MAPI (email) ?

Beto Neto writes:
Quote
Resuming...
I need to open the default email client and create a new message with
Attachments and the mesasge body as HTML...

How can I do this ?
I think there are some email clients which are not fully MAPI compliant.
Mike
 

Re: Exists somebody that can realy help me with MAPI (email) ?

I friends...
I'm tired and going CRAZY!!!
I'm trying to generate a email using the MAPI.
The email with this specifications:
- 1 suject
- X address
- 1 body as **HTML** formated text
- X attachments
Then the default email client open the message. If the user want to change
something in the message, he can. Now he will cofirm if the email will be
sent or not!!!
Exists a way to generate this using a FREE code!?!?!?
I don't want to pay a source code to make this, I need a FREE OPEN SOURCE
soluction, please :D
Thanks, a lot!!!!
bye!
 

Re: Exists somebody that can realy help me with MAPI (email) ?

Resuming...
I need to open the default email client and create a new message with
Attachments and the mesasge body as HTML...
How can I do this ?
"Francois Piette [ICS & Midware]" <XXXX@XXXXX.COM>escreveu na
mensagem news:XXXX@XXXXX.COM...
Quote
Not sure I understand your question...
Anyway, why do you want to use MAPI ?
You may use a SMTP component such as ICS, indy or sinapse. All 3 are free
and mainly differ in their programming model.
If you select ICS which is asynchronous and event driven, then download
the
full source code from www.overbyte.be and have a look at the
MailSnd
and MailHtml demos. Then ask for your questions in ICS support mailing
list.

Contribute to the SSL Effort. Visit www.overbyte.be/eng/ssl.html
--
XXXX@XXXXX.COM
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
www.overbyte.be

"Beto Neto" <XXXX@XXXXX.COM>a écrit dans le message de
news:XXXX@XXXXX.COM...
>I friends...
>
>I'm tired and going CRAZY!!!
>
>I'm trying to generate a email using the MAPI.
>
>The email with this specifications:
>- 1 suject
>- X address
>- 1 body as **HTML** formated text
>- X attachments
>
>Then the default email client open the message. If the user want to
change
>something in the message, he can. Now he will cofirm if the email will
be
>sent or not!!!
>
>Exists a way to generate this using a FREE code!?!?!?
>I don't want to pay a source code to make this, I need a FREE OPEN
SOURCE
>soluction, please :D
>
>Thanks, a lot!!!!
>bye!
>
>


 

Re: Exists somebody that can realy help me with MAPI (email) ?

Yes , I know, but, if I have more than one attachments this doesn't works!!!
"Massuda" <XXXX@XXXXX.COM>escreveu na mensagem
Quote
>- 1 body as **HTML** formated text
>- X attachments

Using MAPI the only way to get a HTML message is attach your HTML code to
a blank (no body) message; the HTML attachment must be the first
attachment.



--- posted by geoForum on delphi.newswhat.com