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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...