Send mail to script

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

Send mail to script

Post by Hacker »

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.
Aavesoturi
Active Member
Posts: 163
Joined: Fri Aug 31, 2007 7:07 pm
Location: Helsinki
Contact:

Re: Send mail to script

Post by Aavesoturi »

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