Email on turing ASAP
Author |
Message |
mk2000
|
Posted: Wed Jan 27, 2010 5:13 pm Post subject: Email on turing ASAP |
|
|
is there a way or coding i send email through turing. like maybe through outloook?
i need this asap. please help |
|
|
|
|
|
Sponsor Sponsor
|
|
|
ecookman
|
Posted: Wed Jan 27, 2010 5:58 pm Post subject: RE:Email on turing ASAP |
|
|
im not sure if yo can do this with thuring, but i have seen it been done with other languages such as MIRC and VB |
|
|
|
|
|
ProgrammingFun
|
Posted: Wed Jan 27, 2010 5:59 pm Post subject: RE:Email on turing ASAP |
|
|
you could get turing to run an e-mail client by using the Sys.exec command (I think its that).
Look this up in the Turing Reference |
|
|
|
|
|
mk2000
|
Posted: Wed Jan 27, 2010 6:06 pm Post subject: RE:Email on turing ASAP |
|
|
thanks but there was a code on this website that let me do it from outlook when i type the persons email. but i lost wher i found it |
|
|
|
|
|
Dan
|
|
|
|
|
DtY
|
Posted: Wed Jan 27, 2010 7:06 pm Post subject: RE:Email on turing ASAP |
|
|
Quick google search brought this: http://glob.com.au/sendmail/
There's a program that most Unices come with called `sendmail`, which does exactly that. You give it an email, and it sends it. A quick google search for sendmail windows found that.
You need to give it a whole email, complete with all the headers and stuff. It will look something like this
code: | from: your@email
to: other@email
the body of the email |
Iirc, those are the only two required headers. You can look around the internet for other headers (to do stuff like cc, bcc, et cetera) |
|
|
|
|
|
[Gandalf]
|
Posted: Wed Jan 27, 2010 7:13 pm Post subject: RE:Email on turing ASAP |
|
|
Confirmed, I implemented a subset of SMTP in Turing using the Net module, however the quirks of various SMTP servers are rather annoying to handle (in general and more so in Turing).
Otherwise, your only other reasonable option is to Sys.Exec into a real email client, perhaps passing in some parameters for email address, etc.
Edit: True, DtY bring up another option, you can send your email data to some web server (again, most likely using the Net module) that then sends the email for you. |
|
|
|
|
|
|
|