
Calling MS Outlook E-Mail
Started by
Ross Bevin
, Nov 13 2005 05:17 PM
23 replies to this topic
#18
Posted 16 June 2006 - 04:54 PM
When we used the control, we were able to add an attachment using the following:
$Filename = POLICY + CDATE(ENTERED)
+ ENTERED_TIME + '0200.pdf'
$Filepath = 'S:\XXYShare\DEV\SLON\' + $Filename
#T = ProMail.AddAttachment(PR)
"PR" INTERFACE MAPPING WITH THE FOLLOWING VARIABLES:
sFileLogicalName = $Filename
sFilePath = $FilePath
Not sure why it would not attach for you. I notice it(PROIV) is sometimes very touchy as to where in a function this is called. Worked for us pretty good.
$Filename = POLICY + CDATE(ENTERED)
+ ENTERED_TIME + '0200.pdf'
$Filepath = 'S:\XXYShare\DEV\SLON\' + $Filename
#T = ProMail.AddAttachment(PR)
"PR" INTERFACE MAPPING WITH THE FOLLOWING VARIABLES:
sFileLogicalName = $Filename
sFilePath = $FilePath
Not sure why it would not attach for you. I notice it(PROIV) is sometimes very touchy as to where in a function this is called. Worked for us pretty good.
#21
Posted 04 October 2006 - 04:32 PM
Has anyone had success displaying the email message (user wants to see contents before clicking 'send') when using the Pro-IV E-Mail control? I've set the Visible property to True and called the Display method but no luck. Failing that, does anyone have a link to a list of DDE commands for Outlook (not Outlook Express)?
Thanks
Thanks
Edited by mikelandl, 04 October 2006 - 04:34 PM.
#22
Guest_Guest_*
Posted 05 October 2006 - 10:07 PM
Sorry Mike,...does anyone have a link to a list of DDE commands for Outlook (not Outlook Express)?
But Outlook does not support DDE.
Check out the following link.
http://support.micro.....Ben-us;291420
#23
Posted 10 October 2006 - 09:00 PM
Thanks for the info. Ended up using rundll32.exe in the end which I think will be better for what we need.Sorry Mike,...does anyone have a link to a list of DDE commands for Outlook (not Outlook Express)?
But Outlook does not support DDE.
Check out the following link.
http://support.micro.....Ben-us;291420
#24
Posted 13 October 2006 - 10:09 AM
Dunno if it helps but we've been sending emails from Pro-IV 4.6 without problems for a while:
$$EMAIL = 'mailto:support@email.co.uk?subject=Help%20me!^&body=Dear'
+ '%20Support,%0A%0AI%20messed%20up%20again...')
#A = SYSTEM('GUI /C START ' + $$EMAIL)
The one annoying part is having to put %20 for every space, however I've written a global logic to do this :
REPLACE
A PARMS($$TEXT,$FROM,$TO)
FOR #A = 1 TO LEN($$TEXT)
IF $$TEXT(#A,#A) = $FROM THEN
$$NEW-TEXT = $$NEW-TEXT + $TO
ELSE
$$NEW-TEXT = $$NEW-TEXT + $$TEXT(#A,#A)
ENDIF
ENDFOR
RETURN($$NEW-TEXT)
Used is logic as : $$BODY = REPLACE($$BODY,' ','%20')
I've been a member here for over 3 years and this is my first post!!!
$$EMAIL = 'mailto:support@email.co.uk?subject=Help%20me!^&body=Dear'
+ '%20Support,%0A%0AI%20messed%20up%20again...')
#A = SYSTEM('GUI /C START ' + $$EMAIL)
The one annoying part is having to put %20 for every space, however I've written a global logic to do this :
REPLACE
A PARMS($$TEXT,$FROM,$TO)
FOR #A = 1 TO LEN($$TEXT)
IF $$TEXT(#A,#A) = $FROM THEN
$$NEW-TEXT = $$NEW-TEXT + $TO
ELSE
$$NEW-TEXT = $$NEW-TEXT + $$TEXT(#A,#A)
ENDIF
ENDFOR
RETURN($$NEW-TEXT)
Used is logic as : $$BODY = REPLACE($$BODY,' ','%20')
I've been a member here for over 3 years and this is my first post!!!

Edited by rickw, 13 October 2006 - 10:11 AM.
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users