Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-23-2004, 07:54 AM
Junior Member
 
Join Date: Dec 2004
Posts: 3
Default send mail through outlook

hi.

Can I send a mail with an attachment through the mail account set up in outlook. Or preferably the default mail client. The importent thing here is the attachment and the use of the account allready set up in the default mail client.
Reply With Quote
  #2 (permalink)  
Old 12-23-2004, 08:18 AM
Junior Member
 
Join Date: Dec 2004
Posts: 3
Default Re:send mail through outlook

ok, I found the solution myself... Here it is for others to view:


In initialize:
outlook = new ActiveXObject("outlook.application");

in other script called from flash:
var sendmail = outlook.CreateItem(0);
sendmail.to ="test@test.com";
sendmail.subject ="test";
sendmail.body = "test";
sendmail.attachments.Add (Shell.getSpecialFolder("temp")+ "\\scores.txt");
sendmail.send;
Reply With Quote
  #3 (permalink)  
Old 03-15-2005, 12:35 PM
Junior Member
 
Join Date: Dec 2004
Posts: 3
Default Re:send mail through outlook

hmm.. now this doesnt work anymore..

I have downloaded the new version of SWF kit.. and it just makes errors with this script now!!

Then how do I do it??
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:33 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.