sending email with Transcript?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
sending email with Transcript?
i have read all the documentation on this topic and tried numerous times to send myself an email with Transcript ... no luck. can someone please help me!
i want to email text that is saved in a field using Transcript
the documentation says to use this to send an email:
put fld "someText" into /
URL "ftp://user:pass@ftp.example.org/test"
can the username and password be blank?
is the server name "example.org" ?
what does "/test" mean?
moe
i want to email text that is saved in a field using Transcript
the documentation says to use this to send an email:
put fld "someText" into /
URL "ftp://user:pass@ftp.example.org/test"
can the username and password be blank?
is the server name "example.org" ?
what does "/test" mean?
moe
Hi moe,
this is rather for ftp upload to a server, than for sending emails, so that syntax won't help you. Could you please tell us how you want the mail to be sent? With help of the users default eMail application (possible from within rev, but the user will see the app pen up and need to click send) or directly (possible with libraries that are freely available)
All the best,
Malte
this is rather for ftp upload to a server, than for sending emails, so that syntax won't help you. Could you please tell us how you want the mail to be sent? With help of the users default eMail application (possible from within rev, but the user will see the app pen up and need to click send) or directly (possible with libraries that are freely available)
All the best,
Malte
-
- Livecode Opensource Backer
hi Malte. thank you for your reply
i would like an email to be sent when the user selects a menuItem. the stack will know the 'file path' of the text field to send. the stack will also know the 'email address' to send to. So, i think the answer to your question is to send the email "directly"
ah, i see ... a 'provider' is not a 'server'. my thinking was that when i send an email, it is sent to a server ... the server of my email provider. thank you for setting me free from 'libURLftpUpload'
i had hoped that Transcript would allow me to send an email just as transparently as i now download text from a web site
i love to figure these Transcript challenges but this one has got me totally stumped
danke sehr Malte
moe
i would like an email to be sent when the user selects a menuItem. the stack will know the 'file path' of the text field to send. the stack will also know the 'email address' to send to. So, i think the answer to your question is to send the email "directly"
ah, i see ... a 'provider' is not a 'server'. my thinking was that when i send an email, it is sent to a server ... the server of my email provider. thank you for setting me free from 'libURLftpUpload'
i had hoped that Transcript would allow me to send an email just as transparently as i now download text from a web site
i love to figure these Transcript challenges but this one has got me totally stumped
danke sehr Malte
moe
Two Alternatives
To send email from a Rev app, you have two choices.
You can use the revMail command (see the documentation) which will launch the user's mail application and enable him or her simply to click "Send" on an email generated by that command.
You can use libEMail and write Rev scripts to build and send the email directly out through the application.
The problem with the latter approach is that the person who used to support that library is no longer doing so and I don't know if anyone else has picked up that ball or intends to do so. Perhaps others can chime in on that subject.
Either way, sending email from a Rev app is a piece of cake.
You can use the revMail command (see the documentation) which will launch the user's mail application and enable him or her simply to click "Send" on an email generated by that command.
You can use libEMail and write Rev scripts to build and send the email directly out through the application.
The problem with the latter approach is that the person who used to support that library is no longer doing so and I don't know if anyone else has picked up that ball or intends to do so. Perhaps others can chime in on that subject.
Either way, sending email from a Rev app is a piece of cake.
-
- Livecode Opensource Backer
If you are on mac osx, you can try to use mail on the shell.
Type man mail in the terminal window for more info on mail syntax.
Code: Select all
echo "the content of your email" | mail -s "the subject" somebody@somewhere
Re: Two Alternatives
Mmm, this is a big hole for me.revdan wrote:To send email from a Rev app, you have two choices.
You can use the revMail command (see the documentation) which will launch the user's mail application and enable him or her simply to click "Send" on an email generated by that command.
You can use libEMail and write Rev scripts to build and send the email directly out through the application.
The problem with the latter approach is that the person who used to support that library is no longer doing so and I don't know if anyone else has picked up that ball or intends to do so. Perhaps others can chime in on that subject.
Either way, sending email from a Rev app is a piece of cake.
- If revMail simply fires up another local e-mail client, that doesn't work for many situations
- libEMail is 3rd party and apparently not supported
Rev needs a product-supported way to send e-mail. Many of my solutions e-mail out to pagers - a local client app requiring pressing a Send button won't do, and neither will an unsupported 3rd party library.
Isn't this a basic need for many of you?
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
The libraries might be unsupported by RunRev, but they're certainly supported by their respective makeresses. People have used them in commercial apps.
I myself never needed to send a mail programmatically, but i have played with ShaoSean's library, and it's pretty simple, if you understand how mail works.
ShaoSean's site (if it doesn't work, try the ip directly)
Sarah Reichelt's site (thanks mark i couldn't remember)
I myself never needed to send a mail programmatically, but i have played with ShaoSean's library, and it's pretty simple, if you understand how mail works.
ShaoSean's site (if it doesn't work, try the ip directly)
Sarah Reichelt's site (thanks mark i couldn't remember)
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Livecode Opensource Backer
where is terminal window?
hi Marielle
thank you for a “shell command solutionâ€
thank you for a “shell command solutionâ€
-
- Livecode Opensource Backer
does revMail have 'attachment' parameter
hi Dan
i tried ‘revMail’ ... just as you said “sending email from a Rev app is a piece of cakeâ€
i tried ‘revMail’ ... just as you said “sending email from a Rev app is a piece of cakeâ€
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
Yes shell's are different on every platform. The terminal is a way to enter shell commands, and is not a part of RunRev.
in Mac OS X you find the Terminal App in this folder:
Applications->Utilities
You need to enter "man mail" to get help on the usage of mail. scroll up and down with the arrow keys, quit out of it by pressing "q"
under windows go to the Start menu, then click "run..." and enter "cmd"
However I think that windows has no shell mailer, sorry.
in Mac OS X you find the Terminal App in this folder:
Applications->Utilities
You need to enter "man mail" to get help on the usage of mail. scroll up and down with the arrow keys, quit out of it by pressing "q"
under windows go to the Start menu, then click "run..." and enter "cmd"
However I think that windows has no shell mailer, sorry.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Livecode Opensource Backer
Re: where is terminal window?
Follow the link . mailx man page, online versionmoe wrote:also, you have energized my curiosity ... i would like to read more info on ‘mail syntax’
on your mac osx... which you don't havemoe wrote:where is ‘the terminal window’?
Note that you can always send the message parameters to an online php script, that will then trigger mail on the server. See mail @ php.net for more info. But you should be able to come up with a more elegant solution.
-
- Livecode Opensource Backer
ShaoSean’s site comments
hi BvG
oh your ShaoSean’s address works alright ... perhaps to good!
i am normally slow to form an opinion but the splash screen at this site looks like a mordacious, scathing drubbing of Revolution!
since there a RunRev logo prominently displayed is/was Shao Sean a member of the Revolution team? ... is this a disclosure about what is happening at Revolution?
oh your ShaoSean’s address works alright ... perhaps to good!
i am normally slow to form an opinion but the splash screen at this site looks like a mordacious, scathing drubbing of Revolution!
since there a RunRev logo prominently displayed is/was Shao Sean a member of the Revolution team? ... is this a disclosure about what is happening at Revolution?
-
- Livecode Opensource Backer
solution to transparent email with an attachment in Rev
my first attempts at using Smtp Example v2.5.2 look like this will work perfectly. i think Rev will use this library command nicely, so that i can have a 'transparent' 'direct' email sent without user intervention inside of a Rev appjavascript:emoticon(':D')
thank you all for your responses, this site has been very helpful ... and amazingly quick. if had i had known earlier i would not have struggled so long trying to solve this myself. as usual i have learned more than i set out to, perusing around the documentation ... but that is the fun of learning and using Revolution
thank you all for your responses, this site has been very helpful ... and amazingly quick. if had i had known earlier i would not have struggled so long trying to solve this myself. as usual i have learned more than i set out to, perusing around the documentation ... but that is the fun of learning and using Revolution
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
Re: ShaoSean’s site comments
No she never was. That's just the webring, which some sites about runrev are part of.moe wrote: since there a RunRev logo prominently displayed is/was Shao Sean a member of the Revolution team? ... is this a disclosure about what is happening at Revolution?
(A webring is like a link list, but with some additional features)
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Shao Sean's Rev Stance
I deliberately didn't supply a link to Shao Sean's site because of that front-page diatribe and because she has clearly indicated that she will no longer support any of the Rev products. (I'm not even sure she's a she. Sorry if I'm wrong.)
The email libraries are now in the public domain if I read the site correctly, so someone could theoretically take them over and begin supporting them.
The email libraries are now in the public domain if I read the site correctly, so someone could theoretically take them over and begin supporting them.