Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Brilliant! Your site is great...and saving me hours of time at work and making my boss think I am brilliant too! I also picked up on a thread that will potentially save us a lot of money in the future..."

Geography

Where in the world do Tek-Tips members come from?
1010ash1957 (Programmer)
1 Jun 07 11:48
We have an Foxpro for Windows V2.6a application and creating a text file, saving it in a specific folder. Our client is composing email message using Outlook / outlook Express and than they locate this folder , file , attaches it and send by email.

is it possible that we can do the above composing, attaching the created file within the Foxpro Application.

Please help and we really thanks in advance.

dgrewe (MIS)
1 Jun 07 12:27
For FoxWin2.6, I use Eudora.
You make a Text File, Call the Eudora Interface, Your done.
Take you about 1 hour to intergrate it code wise.

David W. Grewe Dave

1010ash1957 (Programmer)
2 Jun 07 11:20
HI Dave,

Thanks for your suggestion however is there any interface available for MS Outlook or Outlook Express.

dgrewe (MIS)
2 Jun 07 17:11
Due To Outlooks ability to pass viruses, I avoid it like the plague,
So maybe someone else can answer.
Sorry.

David W. Grewe Dave

dgrewe (MIS)
2 Jun 07 17:14
There are several FAQ's on the subject in the VFP area,  Maybe you can adapt them for 2.6.

David W. Grewe Dave

dgrewe (MIS)
2 Jun 07 17:17
Better Yet, Try this one here in this forum
thread182-1202776: Send email via Outlook

David W. Grewe Dave

Kimed (Programmer)
13 Jun 07 8:40
I'm using a command-line POSTIE utility (http://www.infradig.com/). All the composing is done by the making and running a batch file, no Outlook or any other program is involved.
ChrisMc (Programmer)
29 Jun 07 10:02
It's easy to do to a certain point -

    cURL = 'chris@domain.co.uk'
    cSubj = 'This%20is%20the%20subject'

Note that in the subject the following have got to be translated:

   Space ( )               %20
   Comma (,)               %2C
   Question mark (?)       %3F
   Period (.)              %2E
   Exclamation point (!)   %21
   Colon (:)               %3A
   Semicolon (;)           %3B
   Line feed               %0A
   Line break (ENTER key)  %0D

Then execute using file association:

    cParam = 'mailto:' + cURL + '?subject=' + cSubj
    RUN /n7 cmd /c start &cParam

This works perfectly but I'm pulling my hair out trying to include a file attachment.  Reading the MS Knowledge Base it should be a parameter starting with & but I can't find the format - I've tried '&attach', '&attachment','&file','&post' and none work.  The parameter to add the body to the message is '&body' but I have as many problems with that.

Does anybody have any better ideas?
Chris

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close