Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534

    outlook send email help

    i tried to do it with input but i had problem with getting data from input objects... can some one help please ???

    button on click:
    Code:
    sender = Input.GetText("Input1");
    cc = Input.GetText("Input2");
    bcc = Input.GetText("Input3");
    subject = Input.GetText("Input4");
    body = Input.GetText("Input5");
    
    [B]File.OpenEmail("sender?CC=cc&BCC=bcc&Subject=subject&Body=body", SW_SHOWNORMAL);B]
    Last edited by jackdaniels; 03-24-2008 at 09:38 AM.

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Your problem is that you have variables but you are using them as strings (putting them inside quotes).
    Instead of:

    File.OpenEmail("sender?CC=cc&BCC=bcc&Subject=subje ct&Body=body", SW_SHOWNORMAL);

    You should write:

    File.OpenEmail(sender.."?"..cc.."&"..bcc.."&"..sub ject.."&"..body, SW_SHOWNORMAL);

    Yossi

  3. #3
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534

    Grin

    only the reciever works, it doesnt paste the others(cc,bcc,subject,body)!!!

    Code:
    reciever = Input.GetText("Input1");
    cc = Input.GetText("Input2");
    bcc = Input.GetText("Input3");
    subject = Input.GetText("Input4");
    body = Input.GetText("Input5");
    
    File.OpenEmail(reciever.."?"..cc.."&"..bcc.."&"..subject.."&"..body, SW_SHOWNORMAL);

  4. #4
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Sorry. The code should be:

    File.OpenEmail(sender.."?CC="..cc.."&BCC="..bcc.." &Subject="..subject.."&Body="..body, SW_SHOWNORMAL);

    All in one line without space.

    Yossi

  5. #5
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534
    thanks alot yosik perfect work

Similar Threads

  1. how to send automatic email from ams6??
    By lnd in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 04-10-2007, 07:00 AM
  2. Send email from the program
    By tripc in forum AutoPlay Media Studio 6.0
    Replies: 6
    Last Post: 11-18-2006, 04:36 PM
  3. Example: Sending An Email Through Outlook
    By Brett in forum AutoPlay Media Studio 5.0 Examples
    Replies: 22
    Last Post: 12-05-2005, 06:11 PM
  4. Sending Email with Subject, Body and Attachment Filled In
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-24-2003, 01:30 PM
  5. HOWTO: Send Email
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 09-27-2002, 03:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts