Jump to content


Photo
- - - - -

Calling MS Outlook E-Mail


23 replies to this topic

#16 Lewis Mccabe

Lewis Mccabe

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Sarasota, Florida

Posted 16 June 2006 - 12:17 AM

If you only need server side emailing, you can use BLAT. There are free and pay versions. Both work equally well and include a pretty deep list of features including attachments in multiple formats. It is easily integrated into PRO-IV via SYSTEM call.

Lew

#17 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 16 June 2006 - 01:30 PM

Thanks Lew, I'll look into that.

#18 NeilIV

NeilIV

    Member

  • Members
  • PipPip
  • 28 posts
  • Gender:Male

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.

#19 mdexter

mdexter

    Advanced

  • Members
  • PipPipPip
  • 70 posts
  • Gender:Male

Posted 19 June 2006 - 06:17 PM

Vol, you asked about calling MAPI from PRO-IV. Unfortunately, we wrote our own dll that interfaces with MAPI.DLL, so we don't have an example of calling MAPI.DLL directory from LINK_CLIENT. Mark Dexter

#20 Vol Yip

Vol Yip

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 393 posts
  • Gender:Male
  • Location:Hong Kong

Posted 20 June 2006 - 12:05 AM

Thanks Mark,

I am currently using a 3rd party Window based emailer and have PRO-IV generates command file to send email. Which is working fine at the moment.

I may do more reserach and learn how to write my own dll in the future (w00t)

Regards,

Vol

#21 mikelandl

mikelandl

    Expert

  • Members
  • PipPipPipPip
  • 101 posts

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

Edited by mikelandl, 04 October 2006 - 04:34 PM.


#22 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 05 October 2006 - 10:07 PM

...does anyone have a link to a list of DDE commands for Outlook (not Outlook Express)?

Sorry Mike,

But Outlook does not support DDE.

Check out the following link.

http://support.micro.....Ben-us;291420

#23 mikelandl

mikelandl

    Expert

  • Members
  • PipPipPipPip
  • 101 posts

Posted 10 October 2006 - 09:00 PM

...does anyone have a link to a list of DDE commands for Outlook (not Outlook Express)?

Sorry Mike,

But Outlook does not support DDE.

Check out the following link.

http://support.micro.....Ben-us;291420

Thanks for the info. Ended up using rundll32.exe in the end which I think will be better for what we need.

#24 rickw

rickw

    Newbie

  • Members
  • Pip
  • 9 posts
  • Gender:Male

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!!! :D

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