Page 1 of 1

ShellExecute for email

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by Axel Kiefer >> Tue, 17 Oct 2000 18:50:49 GMT

Hi,

I'm using the shellExecute for starting up the email client and I want
to pass in the body parameter a variable string called bodyText.
It seems so that the length of the body parameter is restricted.

call _shellExecute (hwnd, "open", "mailto:"&tbxEmail.text&"?subject="&"Your Order "&tbxOrderNumber.text.stripZeros(tbxOrderNumber.text.String)&"&body="&bodyText, null, null, 1);


Is there also a way to created automatically an attachment file?


regards

Re: ShellExecute for email

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by Richard Mitchell >> Wed, 22 Nov 2000 0:47:31 GMT

Why not use Node::createExternalProcess ?

Richard
++++++++++++++++++

Re: ShellExecute for email

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by Peter Gallagher >> Wed, 22 Nov 2000 3:00:33 GMT

Hi,

I have recently tried an ocx from www.flicks.com called OCXMail. Once I got this working, it hasn't missed a beat. The original problem I had was specifying an attachment to an email.

Regards

Peter

Re: ShellExecute for email

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by Scott Whitfield >> Mon, 23 Jul 2001 2:50:34 GMT

I came across this restriction about a year ago and experienced a similar problem with the address field. It appeared to have a restriction of about 256 chars. This made is unusable for large email lists unless an alias was used.
I cant remember whether node.createExternalProcess worked or not, I suspect not as I ended up using a Dephi dll.