Jump to content

Recommended Posts

i've started from unitronics example to send email from V570. But i use a V350.

Program seems to work fine. Connect to ethernet card, and when i try to send mail the FB email MI status say: "success". But mail no arrive!

Have you advice?

Fabio

Link to comment
Share on other sites

Hi Fabios,

Did you try sending the mail to different mail address?

Try sending the mail to account which is configured in the mail server.

Please make sure you are using the latest system files.

I have tried to 3 different mail;

>Try sending the mail to account which is configured in the mail server.

What do you mean?

>Please make sure you are using the latest system files.

I'm using Visilogic 9.0

Link to comment
Share on other sites

Hi Fabios,

For example if your mail server is "unitronics.com" then try sending mail to account in unitronics.com (Example - fabios@unitronics.com)

Are you using company mail server or public?

did you enter username and password?

Can you try using different mail server?

Try upgrading the VisiLogic to version 9.2.0 and upgrade all the system files of the PLC.

Link to comment
Share on other sites

>Are you using company mail server or public?

public

>did you enter username and password?

of course!

>Can you try using different mail server?

for now i've tried 2 mail server

>Try upgrading the VisiLogic to version 9.2.0 and upgrade all the system files of the PLC.

with 9.0 it has problem to work?

Link to comment
Share on other sites

Hi fabios,

Are you using Visilogic 9.0.1?

Attach the application and I will test it with the parameters you are using.

It must work with 9.0.

And now it work.Now I've used private smtp server.

--KkK170891tpbkKk__FV_KKKkkkjjwq

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

saluti!!

--KkK170891tpbkKk__FV_KKKkkkjjwq--

What is --KkK170891tpbkKk__FV_KKKkkkjjwq-- ?

I no found differences from text and html body content type.

Link to comment
Share on other sites

  • 2 months later...

I set up email capability on my V130, and I get junk text in the email. For example:

--KkK170891tpbkKk__FV_KKKkkkjjwq

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

alarm text here.

--KkK170891tpbkKk__FV_KKKkkkjjwq--

How do I get rid of the "--KkK..." at the beginning and end of the email? This is ugly. I've tried plain text and HTML, and both options give me this junk text.

Link to comment
Share on other sites

  • MVP 2014

We have also been doing some work with email on a V130 using GPRS and we get the extra characters. It hasn't been a big issue but would be nice to get rid of them. We have used a couple of different providers, and from memory it occurs with both of them.

  • Upvote 1
Link to comment
Share on other sites

Hi Ofir,

Thanks for your response.

The only email services I have access to are my company's web domain CPanel (which is what I'm using currently, and getting the extra characters), and gmail (which I understand is not supported).

Can anybody recommend a free email provider that they've had success with in not getting the extra characters?

Link to comment
Share on other sites

Per Simon's response, the extra characters are sort of a big deal with my application. We're building a system that we're shipping to customers, and it looks pretty goofy if our notifications contain all that garbage text.

Plus, since you can use your cell phone number as an email to get a text message (e.g. **********@txt.att.net), all the extra characters will turn a message that can be one text message into two text messages, which not elegant to say the least.

Link to comment
Share on other sites

  • 1 month later...
  • MVP 2014

Just running some unrelated tests using the COM port sniffer. The "garbage text" is part of the MIME encoding. It originates from the PLC, and is necessary if the email contains attachments. Email clients should be able to strip it out, but sometimes they get confused. Changing the message type from plain text to HTML does not make much difference.

Can we have the option to send without MIME encoding if we have no attachments?

Below is an extract from the mail text that is sent by the PLC to the mail server

MIME-Version: 1.0

Content-Type: multipart/mixed;

boundary="KkK170891tpbkKk__FV_KKKkkkjjwq"

THe "boundary" field then ends up at the bottom of the message when it is received and viewed in Outlook

--KkK170891tpbkKk__FV_KKKkkkjjwq--
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...