OK, so i tried to make a block that attaches your open project to email and sends it,
here is what the code is in block specs:
('email project to: %s' #- #email: 'johnsmith@Gmail.com')and here is the code for the block:
email: t1
Cursor wait showWhile: [ScratchPlugin primOpenURL: 'mailto:' t1]and for some strange reason the block doesnt work! it just has a error message saying: "message not understood: t1" please help!!
Offline
Baderous wrote:
You're sending the message t1 to the string 'mailto:'. String class doesn't know that t1 is.
well, then whats the code suposed to be like?
Offline
I think that you want to concatenate the string 'mailto:' with the string represented by t1, which is an e-mail address, so it should be like this:
email: t1
Cursor wait showWhile: [ScratchPlugin primOpenURL: ('mailto:', t1)]Offline
Baderous wrote:
I think that you want to concatenate the string 'mailto:' with the string represented by t1, which is an e-mail address, so it should be like this:
Code:
email: t1 Cursor wait showWhile: [ScratchPlugin primOpenURL: ('mailto:', t1)]
thxs
Offline
Do note that the code doesn't actually attach the project
I was actually thinking some kind of PHP code that sends the email, but there seems to be no way of attaching and sending a file without displaying a full webpage.
Offline
LS97 wrote:
Do note that the code doesn't actually attach the project
![]()
I was actually thinking some kind of PHP code that sends the email, but there seems to be no way of attaching and sending a file without displaying a full webpage.
maybe a mailing list manager? That will work. I gotta try that......
Offline
With this block it becomes really easy to spam people if you put it in a forever loop
Offline
joefarebrother wrote:
With this block it becomes really easy to spam people if you put it in a forever loop
well, if i hacked the latest version of bingo and got the code to send a email without opening up email instead just sending it privately and having a certan email, yes I could spam people with fake email adresses
Offline
roijac wrote:
mm, maybe try use URI?
what does that mean?
Offline
bump
Offline
flashgocrazy wrote:
joefarebrother wrote:
With this block it becomes really easy to spam people if you put it in a forever loop
well, if i hacked the latest version of bingo and got the code to send a email without opening up email instead just sending it privately and having a certan email, yes I could spam people with fake email adresses
You can already spam people with emails -- why go look for a Scratch block to do that? Still, I wouldn't do it at all.
Offline
WindowsExplorer wrote:
Gopher 1.3 has taht block, and it's going to be out in five minutes! lol! You can use teh code from that (Developer password is [removed by request of poster])
sometihng cool about switcihng teh H's with the letter taht comes after tehm?
Last edited by Lightnin (2013-01-03 15:31:54)
Offline
roijac wrote:
maybe create a site, then use the normal upload code to upload to the site, and use php to send the Email from the site?
That's exactly my point. It works great with plain text, but not with attachments (unless you display a webpage).
Offline
roijac wrote:
maybe this?
That's cool! But it only receives mails and doesn't send them, so it won't help in the precise context.
Offline
WindowsExplorer wrote:
Gopher 1.3 has taht block, and it's going to be out in five minutes! lol! You can use teh code from that (Developer password is [removed by request of poster])
I hope you gave credit to match (my mod) it has that block in it and i discovered it first
Last edited by Lightnin (2013-01-03 15:31:35)
Offline
flashgocrazy wrote:
OK, so i tried to make a block that attaches your open project to email and sends it,
here is what the code is in block specs:Code:
('email project to: %s' #- #email: 'johnsmith@Gmail.com')and here is the code for the block:
Code:
email: t1 Cursor wait showWhile: [ScratchPlugin primOpenURL: 'mailto:' t1]and for some strange reason the block doesnt work! it just has a error message saying: "message not understood: t1" please help!!
Just add a comma after the 'mailto:'
Offline