1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Email using Thunderbird

Discussion in 'Delphi Programming' started by delphiy, Oct 31, 2015.

  1. delphiy
    Offline

    delphiy DF Member

    I have an applciation where i want to send a normal email with an attachment via thunderbird. 
    Using Outlook seems easy. I got that to work. Some of my clients use thunderbird. I like to get this working here as well.
    I dont want to rely on the DEFAULT emailing program in windows. It does not always work. I found one solution but dont get it working at all. Compling error.
    Code:
    PHP:
     ShellExecute(Handle'path\to\thunderbird.exe',
        
    '-compose "[email protected],attachment=''file:///c:/test.txt''", 
        nil, SW_SHOWNORMAL);
    Is there is simple way? The above code i cannot get working. I get an error. Incompatibe types integer and widestring. 
    If shellexcute does not work is there any other ideas?

    Please can someone help?

    Thanks

     
     

Share This Page