RevMail - Status in 9,0

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

RevMail - Status in 9,0

AndyP via use-livecode
This was working in Standalones for iOS and Android in all versions < 8.*

on sendFeedBack
revMail "[hidden email]",,"SivaSiva App Feedback",\
("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr & "Feature requests: Describe your idea in as much detail as possible." &cr &"Thank you.")
end sendFeedBack

But in apps made with SA - 9.0  it no longer works.

I check the inclusions, to see if it was externalized, but "nada"

Nothing changed in the dictionary…
How to get revMail back ?

BR






_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
Yes, there was a change. I’ll have to wait until I can look at the code. It
is in the common library.
On Sat, Apr 7, 2018 at 1:21 PM Sannyasin Brahmanathaswami via use-livecode <
[hidden email]> wrote:

> This was working in Standalones for iOS and Android in all versions < 8.*
>
> on sendFeedBack
> revMail "[hidden email]",,"SivaSiva App Feedback",\
> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What
> happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr &
> "Feature requests: Describe your idea in as much detail as possible." &cr
> &"Thank you.")
> end sendFeedBack
>
> But in apps made with SA - 9.0  it no longer works.
>
> I check the inclusions, to see if it was externalized, but "nada"
>
> Nothing changed in the dictionary…
> How to get revMail back ?
>
> BR
>
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
In earlier versions the common library did not make it to mobile. revMail
was internally handled by mobileComposeMail (effectively anyway). Now, the
common library makes it to mobile.

The above code should still work, but should call the mail app to send the
mail instead of doing it inside the app. I would suggest using the
“mobileComposeMail” call instead. You just need to reorder the parameters
slightly. It works for both iOS and Android. If your app is also desktop
you would need to check first.

I’ll need to get my environment set up to actually test though (had to look
at the code on a PC for now).

Looking at the dictionary, we probably should put a check in the revMail
call to pass on mobile or change the dictionary entry to refer to the
mobile specific version.
On Sat, Apr 7, 2018 at 3:11 PM Brian Milby <[hidden email]> wrote:

> Yes, there was a change. I’ll have to wait until I can look at the code.
> It is in the common library.
> On Sat, Apr 7, 2018 at 1:21 PM Sannyasin Brahmanathaswami via use-livecode
> <[hidden email]> wrote:
>
>> This was working in Standalones for iOS and Android in all versions < 8.*
>>
>> on sendFeedBack
>> revMail "[hidden email]",,"SivaSiva App Feedback",\
>> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What
>> happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr &
>> "Feature requests: Describe your idea in as much detail as possible." &cr
>> &"Thank you.")
>> end sendFeedBack
>>
>> But in apps made with SA - 9.0  it no longer works.
>>
>> I check the inclusions, to see if it was externalized, but "nada"
>>
>> Nothing changed in the dictionary…
>> How to get revMail back ?
>>
>> BR
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Widget User Defined Properties

AndyP via use-livecode
I created a property called backgroundColor in a widget on the Colors pane figuring that it would be nice to have the LCS editor color it. Opened up the property inspector of the widget and it's there. The first time I change the property via script the property inspector the Colors pane gets completely whacked out. The other panes are OK. I changed the name of the property to backgroundColorUp and everything was OK. Is there a limitation that user defined widget properties can't be the name of any existing "built in" LCS recognized property?

Ralph DiMola
IT Director
Evergreen Information Services
[hidden email]


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Widget User Defined Properties

AndyP via use-livecode
Take a look at the code for the switchbutton. It does use
backgroundcolor/hilitecolor/bordercolor but does not define a variable or
handler to get/set.
On Sat, Apr 7, 2018 at 5:58 PM Ralph DiMola via use-livecode <
[hidden email]> wrote:

> I created a property called backgroundColor in a widget on the Colors pane
> figuring that it would be nice to have the LCS editor color it. Opened up
> the property inspector of the widget and it's there. The first time I
> change the property via script the property inspector the Colors pane gets
> completely whacked out. The other panes are OK. I changed the name of the
> property to backgroundColorUp and everything was OK. Is there a limitation
> that user defined widget properties can't be the name of any existing
> "built in" LCS recognized property?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [hidden email]
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
In reply to this post by AndyP via use-livecode
I ran into this over the weekend but didn't check the list until this  
morning. After some testing I can confirm this bug appeared in  
9.0.0dp11. Filed bug report @  
https://quality.livecode.com/show_bug.cgi?id=21172

I'll probably look at switching my code over from revMail to  
mobileComposeMail as Brian Milby recommended since I'm only using this  
in an iOS/Android app.

--Andrew Bell


> From: Sannyasin Brahmanathaswami <[hidden email]>
> Subject: RevMail - Status in 9,0
> This was working in Standalones for iOS and Android in all versions < 8.*
>
> on sendFeedBack
> revMail "[hidden email]",,"SivaSiva App Feedback",\
> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr &  
> "What happened: " & cr &cr & "What you expected to happen: " & cr  
> &cr &cr & "Feature requests: Describe your idea in as much detail as  
> possible." &cr &"Thank you.")
> end sendFeedBack
>
> But in apps made with SA - 9.0  it no longer works.
>
> I check the inclusions, to see if it was externalized, but "nada"
>
> Nothing changed in the dictionary?
> How to get revMail back ?
>
> BR
>


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
ditto that… I only use it an mobile BR

Andrew:
    I'll probably look at switching my code over from revMail to  
    mobileComposeMail as Brian Milby recommended since I'm only using this  
    in an iOS/Android app.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
I did a check tonight and do see the same issue. I changed the common
library to call mobileComposeMail and it worked with subject and addressee
specified. I’ll do another test to be sure it works generally as before and
submit a PR. Not sure why the pass isn’t working though.
On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via use-livecode <
[hidden email]> wrote:

> ditto that… I only use it an mobile BR
>
> Andrew:
>     I'll probably look at switching my code over from revMail to
>     mobileComposeMail as Brian Milby recommended since I'm only using this
>     in an iOS/Android app.
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
Just looking at the code in MCKeywordsExecCommandOrFunction, it seems that
there is no provision for passing to a 'global handler' (eg mobile-specific
handlers or cameraControl handlers).

On Tue, Apr 10, 2018 at 3:35 AM Brian Milby via use-livecode <
[hidden email]> wrote:

> I did a check tonight and do see the same issue. I changed the common
> library to call mobileComposeMail and it worked with subject and addressee
> specified. I’ll do another test to be sure it works generally as before and
> submit a PR. Not sure why the pass isn’t working though.
> On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via use-livecode
> <
> [hidden email]> wrote:
>
> > ditto that… I only use it an mobile BR
> >
> > Andrew:
> >     I'll probably look at switching my code over from revMail to
> >     mobileComposeMail as Brian Milby recommended since I'm only using
> this
> >     in an iOS/Android app.
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

AndyP via use-livecode
I was looking at the code last night for mobile mail. There are slight
differences in how the two work besides just allowing attachments. There is
some commented out code in the revMail version that still is in the
mobileComposeMail version. Can’t remember if that was the iOS specific one
or the general one right now though.

Quick fix is probably just to use mobileComposeMail in the common library
revMail handler. I did try that but didn’t verify sender only worked as
before.
On Tue, Apr 10, 2018 at 5:56 AM Ali Lloyd via use-livecode <
[hidden email]> wrote:

> Just looking at the code in MCKeywordsExecCommandOrFunction, it seems that
> there is no provision for passing to a 'global handler' (eg mobile-specific
> handlers or cameraControl handlers).
>
> On Tue, Apr 10, 2018 at 3:35 AM Brian Milby via use-livecode <
> [hidden email]> wrote:
>
> > I did a check tonight and do see the same issue. I changed the common
> > library to call mobileComposeMail and it worked with subject and
> addressee
> > specified. I’ll do another test to be sure it works generally as before
> and
> > submit a PR. Not sure why the pass isn’t working though.
> > On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via
> use-livecode
> > <
> > [hidden email]> wrote:
> >
> > > ditto that… I only use it an mobile BR
> > >
> > > Andrew:
> > >     I'll probably look at switching my code over from revMail to
> > >     mobileComposeMail as Brian Milby recommended since I'm only using
> > this
> > >     in an iOS/Android app.
> > >
> > > _______________________________________________
> > > use-livecode mailing list
> > > [hidden email]
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Using RevMail in Server?

AndyP via use-livecode
In reply to this post by AndyP via use-livecode
I was hoping that RevMail could be
used from within LC Server.  The
documentation says it should work.
My experience with it so far has been
more of that it won’t work.

If I use it from a normal LC stack
it works fine in that it brings up
my email client, like it is supposed to.

Is this a known bug?

If not, does anyone have a good example
of using RevMail or the Unicode version
from within LC Server that works?

Thanks,

Rick
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode
Rick Harrison wrote:

 > I was hoping that RevMail could be
 > used from within LC Server.  The
 > documentation says it should work.
 > My experience with it so far has been
 > more of that it won’t work.
 >
 > If I use it from a normal LC stack
 > it works fine in that it brings up
 > my email client, like it is supposed to.

If a server had a GUI with a mail client installed, who would be there
to click the Send button? :)

I'm surprised the docs include "server" as a platform for that command,
as it wouldn't make sense there.

That is, unless it uses the same syntax to bundle up the data to pass
off to sendmail.  But I didn't see anything like that in the Dictionary.

This Lesson offers a way to send email using LC Server:
<http://lessons.livecode.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts>

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode


> On Sep 8, 2018, at 4:35 PM, Richard Gaskin via use-livecode <[hidden email]> wrote:
>
>
> If a server had a GUI with a mail client installed, who would be there to click the Send button? :)

QuicKeys 4 for Mac OS X can always click the Send button even when no one is around to click the button.  :-)

>
> I'm surprised the docs include "server" as a platform for that command, as it wouldn't make sense there.

Yes, I think it must be a misprint or it is missing important information about using it in a form.

>
> That is, unless it uses the same syntax to bundle up the data to pass off to sendmail.  But I didn't see anything like that in the Dictionary.
>
> This Lesson offers a way to send email using LC Server:
> <http://lessons.livecode.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts>

Thanks for the link Richard!

>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> [hidden email]                http://www.FourthWorld.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode


> Am 09.09.2018 um 16:16 schrieb Rick Harrison via use-livecode <[hidden email]>:
>
>
>>
>> I'm surprised the docs include "server" as a platform for that command, as it wouldn't make sense there.
>
> Yes, I think it must be a misprint or it is missing important information about using it in a form.

I would say it´s an error in the dictionary. For me it makes no sense to open an app with a GUI from Livecode Server. But anyway, that´s my opinion.

Richard already pointed you to the lesson about sending email from Livecode Server scripts.

We´re  using that method for years to send formdata from our webforms to our office.

Another way would be to use the tsNet external with LiveCode Server, if you have a commercial license of Livecode Server and your server system has all needed libraries up to date.

HostM has just updated their systems, so that it is now possible to use LivecodeServer 64bit with tsNet.
We did some basic tests and they were successful so far. The coming days we will change one of our form processing scripts, so that it uses tsNEt instead of sendmail.

I am really curious if this will work w/o problems. We will see. But if it does, then that would be a great enhancement for LivecodeServer.

Regards

Matthias




_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode
Matthias Rebbe wrote:

 > Richard already pointed you to the lesson about sending email from
 > Livecode Server scripts.
 >
 > We´re  using that method for years to send formdata from our webforms
 > to our office.
 >
 > Another way would be to use the tsNet external with LiveCode Server,
 > if you have a commercial license of Livecode Server and your server
 > system has all needed libraries up to date.

tsNet includes an SMTP server?

What commands would one use?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode


On 09/09/2018 17:56, Richard Gaskin via use-livecode wrote:
>
> tsNet includes an SMTP server?
>
> What commands would one use?
>
I've never done it, but ...

lessons.livecode.com/m/4071/l/685661-how-to-send-e-mail-using-the-tsnet-external


<https://www.google.co.uk/search?q=tsnet+smtp&oq=tsnet+smtp&aqs=chrome..69i57j0l5.1689j0j7&sourceid=chrome&ie=UTF-8#>


 1.



Alex.
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode
In reply to this post by AndyP via use-livecode


> Am 09.09.2018 um 18:56 schrieb Richard Gaskin via use-livecode <[hidden email]>:
>
> Matthias Rebbe wrote:
>
> tsNet includes an SMTP server?
>
I didn´t wrote that.

I wrote that we want to replace the use of sendmail in Livecode scripts with using tsNet to send out emails with the formdata of our webforms.
The webform sends the data to our Livecode Server script and the script processes the data and sends the data by email to us. Currently this is done with sendmail, but in future we want to use tsNet.
I am pretty sure you know this already, but if not:
tsNet provides the commands tsNetSmtp, tsNetSmtpFile,tsNetSmtpSync and tsNetSmtpFileSync for sending emails.

Regards,
Matthias




> What commands would one use?
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> [hidden email]                http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Using RevMail in Server?

AndyP via use-livecode
Matthias Rebbe wrote:
 >> Am 09.09.2018 um 18:56 schrieb Richard Gaskin:
 >> tsNet includes an SMTP server?
 >>
 > I didn´t wrote that.

It was just a question about how it does that, since most of tsNet seems
focused on client-side activities. You answered here:
.
 > I am pretty sure you know this already, but if not:
 > tsNet provides the commands tsNetSmtp, tsNetSmtpFile,tsNetSmtpSync and
 > tsNetSmtpFileSync for sending emails.

I did not, which is why I asked.  It hadn't occurred to me that a
client-side tool like tsNet would include what seems to be more or less
the functionality of sendmail.  Pretty cool that it does. Thanks.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode