Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Email attachments 2002-05-16 -- Christian Jurca I used this in an old App made in CW2.01
ShellCmd = 'mailto:'& CLIP(eMailTo)
IF eMailCC
ShellCmd = CLIP(ShellCmd) &'?cc='& CLIP(eMailCC)
END
IF eMailSubject
ShellCmd = CLIP(ShellCmd) &'&subject='& CLIP(LEFT(eMailSubject))
END
IF eMailText
ShellCmd = CLIP(ShellCmd) &'&body='& CLIP(eMailText)
END
IF AttachFileName
ShellCmd = CLIP(ShellCmd) &'?attachment; filename="'&
CLIP(AttachFileName) &'"'
END
ShellRet = ShellExecute(0{prop:handle}, 0, ShellCmd, 1, ShellP2, 1)
Today is November 23, 2024, 2:04 am This article has been viewed 35225 times.
|
|