Jump to content

Email attachment problem


Recommended Posts

I'm having an issue with attachments to emails.

I have email in general working properly.

PLC V350/TR6

OS 3.4.17

VisiLogic 9.3.1 Build 0

Email via Ethernet.

Trying to send email with attachment test.csv from the SD card. In folder excel\excel2. Test.csv contains 1,2,3,4,5

I'm using the example file \Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Email\V570_Send_Email_via_Ethernet.vlp modified for the 350, and with my email server settings.

This is what I'm getting

--KkK170891tpbkKk__FV_KKKkkkjjwq

Content-Type: text/plain; charset=US-ASCII

Hello from Unitronics !!!

--KkK170891tpbkKk__FV_KKKkkkjjwq

Content-Type: application/octet-stream

Content-Transfer-Encoding: base64

Content-Disposition: attachment;

filename= "test.csv"

MSwyLDMsNCw1DQo=

--KkK170891tpbkKk__FV_KKKkkkjjwq--

Does the email attachment send as an actual attachment, or is it appended to the body? The

MSwyLDMsNCw1DQo=
is the part that varies with the contents of the attachment. There is no attachment present in the received email. I've tried a few different files for attachment. Any ideas?

Thanks for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.