BBC BASIC for Windows
Programming >> Communication and Input/Output >> Email attachments
http://bb4w.conforums.com/index.cgi?board=communication&action=display&num=1439488081

Email attachments
Post by KenDown on Aug 13th, 2015, 5:48pm

I'm expecting the answer to be no, but just in case ...

Is there any way of sending an attachment using the ShellExecute method of sending e-mails?

Thanks.
Re: Email attachments
Post by Michael Hutton on Aug 13th, 2015, 7:00pm

Have you tried?

"&Attach="

Looking at other forums it does seem to depend on what email client you are using. You may have to experiment.

Let us know what you find.

...but the wiki does give two very good methods with all the code to do it with SOCKLIB. I presume Richard explored this, I would have expected he would have written about it.

Michael


Re: Email attachments
Post by KenDown on Aug 18th, 2015, 5:03pm

Yes, I did, but it didn't work.

I'm having to use the simpler method because the program is used by several people and I don't know the ISP details for them. It has the added disadvantage that although I can put the address and subject, plus a short message into program, anything longer fails (I had correspondence with Richard about this).

Richard does talk about attachments in the Wiki, but that is using the longer method.