Hi Alex, Thank you for trying that out!
It must be some difference in setup then. I’ll get back to you when I know more. Thanks again, Rick > On Jul 16, 2019, at 6:27 PM, Alex Tweedly via use-livecode > <[email protected]> wrote: > > Hi Rick, > > I copied / pasted that script from your mail into my LC server script, and > made two small changes ("To" address I changed from yours to one of mine, and > "From" address I changed to be within my domain), and tried that. It worked > fine, and I did receive the email. > > So (just to check) I changed the From address to a nonsense one > ([email protected] <mailto:[email protected]>) and again that worked > and I got the email OK. > > So I changed the To address back to yours and ran it again. If you got the > resulting email (probably twice), then that too works, and there must be some > config difference between your hosting account and mine. So I changed the > shell call that sends the email to include outputting the results, as below: > > get shell("echo" && wrapQ(shellEscape(tMsg)) && "| /usr/sbin/sendmail" && \ > wrapQ(shellEscape(pTo)) && "-f" && wrapQ(shellEscape(pFrom))) > put "result = " & the result & "<br>" & CR > put "it = " & it & "<br>" & CR > > For me, that (as expected) produces both the result and 'it' as empty - but > maybe you'll see something different. (btw I'm on sage and Livecode hosting, > and using LC 9.x (i.e. my script is try.lc9). > > Let me know how you get on. > > Alex. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
