Re: Sending email from a Delphi application
- From: "Terry Russell" <trochilus@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 26 Aug 2006 01:22:47 +0930
"DIKonsult" <dag.idoff@xxxxxxxxxxxxx> wrote in message
news:ZtzHg.14238$E02.5244@xxxxxxxxxxxxxxxxxx
Hi John,
look simple enough, thanks a lot.
I presume that if I need a bodytext I write:
Mail := 'mailto:e.brown@xxxxxxxxxxx' + '?subject=test'+'?Body='This is a
body text in my mail';
or have I got it wrong?
Could you please explain to me whats actually happening with this call.
opens a url as mail , which goes to mail handler with commands,
not much use for long messages and more than basic messaging
doesn't actually send messages just set them up for further user action
Parameter :='mailto:' + emad + '?subject=' + subject +
'&Body=' + emailBody;
//works up to <=464 max parameter length; ( maybe OS /version variable)
res:=shellexecute(form1.handle,'open',pchar(parameter),nil,nil,SW_SHOWNORMAL); if res <=32 then raiselastwin32error;
.
- Follow-Ups:
- Re: Sending email from a Delphi application
- From: Rob Kennedy
- Re: Sending email from a Delphi application
- References:
- Sending email from a Delphi application
- From: DIKonsult
- Re: Sending email from a Delphi application
- From: John
- Re: Sending email from a Delphi application
- From: DIKonsult
- Sending email from a Delphi application
- Prev by Date: Re: Sending email from a Delphi application
- Next by Date: Re: Sending email from a Delphi application
- Previous by thread: Re: Sending email from a Delphi application
- Next by thread: Re: Sending email from a Delphi application
- Index(es):