Re: Sending attachments with SMTP_QuickSend?

2017-12-21 Thread Pat Bensky via 4D_Tech
Excellent stuff, thanks Keisuke! I've got it working now. Pat On 20 December 2017 at 00:42, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > just posted some here: > > https://github.com/miyako/4d-tips-send-mail > > obviously you need to fill it with your own account details. (they

Re: Sending attachments with SMTP_QuickSend?

2017-12-19 Thread Keisuke Miyako via 4D_Tech
just posted some here: https://github.com/miyako/4d-tips-send-mail obviously you need to fill it with your own account details. (they are removed in the published example) 2017/12/20 9:17、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール: Thanks Keisuke ... Do

Re: Sending attachments with SMTP_QuickSend?

2017-12-19 Thread Pat Bensky via 4D_Tech
Thanks Keisuke ... Do you have some sample code you could share? I tried attaching a small image. It seemed to send OK (error code=0), but if I sent it to my Mail account I didn't receive it, and if I sent it to my Gmail account the picture wasn't attached (just lots of code). Thanks! Pat On 19

Re: Sending attachments with SMTP_QuickSend?

2017-12-19 Thread Keisuke Miyako via 4D_Tech
it's possible but it might be length issue. I recommend you use a smaller image to get the code running, and then move on to PDF. 2017/12/20 7:52、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール: Is there a way to do this or am I barking up the wrong tree?

Sending attachments with SMTP_QuickSend?

2017-12-19 Thread Pat Bensky via 4D_Tech
Using v16 - I feel that it should be possible to add an attachment to an email, using SMTP_QuickSend rather than SMTP_Send, by creating a MIME object and sending that in the body of the message. But I can't get it to work. I want to attach (for example) a Pdf document. Is there a way to do this