Sending an email with a file attachment

Peter Haworth pete at lcsql.com
Thu Sep 13 18:58:49 EDT 2012


All good ideas.

Also, I'm not sending emails invisibly.  The option to email support
gathers all the environment info and supplies it to revMail as the message
with a few blank lines at the top for the user to give details of the
problem.

Pete
lcSQL Software <http://www.lcsql.com>



On Thu, Sep 13, 2012 at 3:14 PM, Matthias Rebbe <
matthias_livecode_150811 at m-r-d.de> wrote:

> Peter,
>
> you could try to use the smtp server which is responsible for your
> emailaddress. Your server normally will accept emails for your emailaddress.
> I write normally, because there are cases where this will not work. For
> example if your smtp server uses reverse dns to check the sender.
>
> Another option would be to let your app post that data to a php or
> livecodeserver script, which then does the sending.
>
> But wouldn´t it be better to let the user send the email manually? You
> could let your app  put the desired data into the clipboard and let revmail
> open the email editor. You could then instruct the user
> to paste the content of the clipboard into the editor window.
>
> i, for one would love to know when a software is sending data or is
> phoning home.
>
>
> Regards,
>
> Matthias
>
>
> --
> Matthias Rebbe
> matthias (at) rebbe.tk
> Tel: +49.5741.310000
> --
> "Life is too short for boring code"
>
>
>
>
>
>
>
> Am 13.09.2012 um 23:21 schrieb Peter Haworth <pete at lcsql.com>:
>
> > Looks like that won't help.
> >
> > The purpose for this is for a user of my software to send an email to
> > support and to automatically attach a file to the email that contains
> > information about the user's environment.  Sarah's stack requires the
> name
> > of the SMTP server and since that will be different on each user's
> machine
> > and I don't know in advance what it is, her stack won't help me
> > unfortunately.
> >
> > Any other suggestions?  I can embed the information in the body of the
> > email instead of in an attachment so not hugely important. Or I could
> just
> > rewrite my app to run on iPhone/Android, then I could use the commands
> > provided by LC for those platforms :-)
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> >
> >
> >
> > On Thu, Sep 13, 2012 at 1:07 PM, Matthias Rebbe <
> > matthias_livecode_150811 at m-r-d.de> wrote:
> >
> >> Peter,
> >>
> >> Sarah Reichelt´s smtp library can help.
> >>
> >> http://www.troz.net/rev/index.irev?category=Library#stacks
> >>
> >>
> >> Regards,
> >>
> >>
> >> --
> >> Matthias Rebbe
> >> matthias (at) rebbe.tk
> >> Tel: +49.5741.310000
> >> --
> >> "Life is too short for boring code"
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Am 13.09.2012 um 21:44 schrieb Peter Haworth <pete at lcsql.com>:
> >>
> >>> I notice that revMail does not have a way to attach a file to the email
> >> it
> >>> creates.  Is there perhaps a plugin or library that will provide that
> >>> functionality?
> >>> Pete
> >>> lcSQL Software <http://www.lcsql.com>
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list