no txt-attachments with *web/email

Started by Thomas Bock, August 13, 2024, 05:11:41 AM

Previous topic - Next topic

Thomas Bock

I can't manage to sent a txt-file as an attachment with *web/email (PxPlus 20.10).
The mail doesn't contain the originally attached file. Instead of this there is an attachment called ATT00001.htm containing the body text. I tried to force BASE64 encoding with the ?B suffix, but that didn't change anything. Other file types like png, xlsx, csv and pdf work fine.
*web/webserv.mim contains text/plain. That seems to be correct.
What am I doing wrong?

EVa

I just tried:

0100 CALL "*web/email","sender@edias.com","","receiver@gmail.com","","","Test TXT","This is a test","listing.txt?Q","","server.com;port-secure;login;pswd",10,60,"",0,error$

and received 'listing.txt' as attachment (in text format).

martinp

Mine also worked, I think I've seen this ATT000001.htm randomly in the past..  Did you try different email clients?

Thomas Bock

I tried ?P, ?Q, ?B and no forced encoding. The txt attachment was never received.
I checked that with the GMX app, GMX webpage and our Outlook client.
Outlook creates the ATT00001.htm attachment and GMX appends that content to the bodytext. Both destroy our company information at the end of the mail.

martinp


Thomas Bock

Solved!
As usual there have been SEPs inside my bodytext. Replacing them with $0A$ solved the prblem.

martinp