Send mail to script

Post your coding questions such as 'how to' here.
Post Reply
Posts: 11
Joined: Mon Aug 11, 2008 1:36 am

Send mail to script

Post by Hacker » Wed Aug 12, 2009 3:54 am

Hello everyone:

I coolbasic a program that creates a text file on my desk with data.

Let me know if you can send that file to my mail but not run wizards mailing.

The idea is that the file is automatically sent to my mail without me appearing in my windows desktop.

Can you do CoolBasic?

What should I do with a script?

Thank you very much for your help.

User avatar
Active Member
Posts: 163
Joined: Fri Aug 31, 2007 7:07 pm
Location: Helsinki

Re: Send mail to script

Post by Aavesoturi » Wed Aug 12, 2009 4:26 pm

I'd say you must invoke an external program with Execute command. The program needs to be able to take required data (like the e-mail address, the outgoing mail server address and message stuff) as command line arguments. Some fully featured e-mail clients may be able to do that, or you could use a program made specifically to that purpose, such as sendEmail.

Post Reply