SMTP Email Send Message Error

When I using SMTP Email Send Message in Labview 8.0 to send an email message and I get a error message as bellow:
Error 16500 occurred at 500 5.5.1 Command unrecognized: "MIME-Version: 1.0"
Possible reason(s):
LabVIEW:  (Hex 0x4074) 500 Syntax error, command unrecognized. For example, the command line might be too long.
Where the mistake and how to solve this error to send an email by Labview 8.0.
Thank you.

A couple of things. If you don't know what mail server you are using, you definitely need to get a hold of a network administator to see which one you use. Checking the mail server is a thing specific to the mail server itself, in other words there is no specific way that applies to them all. The example below requirs FDS 7.0 so if you don't have full developement system, it won't work. The handset question would be a great one to ask in another thread. I suggest also searching our website for information on that one as well. Hope that answers your questions.
Tyler H.
National Instruments
Attachments:
sendEmail.vi ‏66 KB

Similar Messages

  • Não estou conseguindo enviar e-mail utilizando SMTP Email Send Message vi.

    Não estou conseguindo enviar e-mail utilizando SMTP Email Send Message vi. Uso a versão 8.6. Aparece a mensagem Error 66 occurred at TCP Read in NI_SMTPEmail.lvlibMTP Email TCP Read xTP Reply.vi:2->NI_SMTPEmail.lvlibMTP Email Command.vi:1->NI_SMTPEmail.lvlibMTP Email [QUIT].vi->NI_SMTPEmail.lvlibMTP Email Close Session.vi:3->NI_SMTPEmail.lvlibMTP Email Send Message Charset.vi:2->NI_SMTPEmail.lvlibMTP Email Send Message.vi:1->teste1.vi   
    Attachments:
    imagem.JPG ‏160 KB

    Bom dia Jean_ebrax,
    o VI SMTP Email Send Message não suporta servidores SMTP que requerem autenticação. Se você quiser continuar utilizando este VI, você pode utilizar um servidor SMTP Local para testar o seu código. O link abaixo é de um servidor free:
    http://www.softstack.com/freesmtp.html
    Para mais informações, consulte este link:
    http://digital.ni.com/public.nsf/allkb/57597451D40737058625729900589452?OpenDocument
    Agora caso você queira utilizar servidores autenticados, você pode utilizar a plataforma .Net da Microsoft. Abaixo segue um exemplo:
    https://decibel.ni.com/content/docs/DOC-2401
    Estou a disposição para quaisquer esclarecimento.
    Atenciosamente,
    Ricardo Ramos
    Engenheiro de Vendas - Sul
    National Instruments Brasil

  • Help regarding SMTP Email Send Message

    Hello everyone,
    i am working on the SMTP Email Send Message using labview .  i have connected the terminals as suggested in the Context Help and i can run the VI but a keep getting a lot of errors.
    Needless to say i cant send the mail .
    i have enclosed the vi , shall be grateful if somone can suggest any modifications so that the VI works.
    I have also seen the GMAIL.vi but dont want to use as it seems complicated. 
    Thanks in advance 
    Attachments:
    SMTP.vi ‏8 KB

    Hello Ravens Fan,
    i delved more into SMTP in Google and found out the following steps:
    Open up a command prompt (CMD.exe)
    Type nslookup and hit enter
    Type set type=MX and hit enter
    Type the domain name and hit enter, for example: google.com
    The results will be a list of host names that are set up for SMTP
    I am attaching a pic of my cmd after executing the steps. I updated the mail server in the SMTP Email Send Message block diagram and i got an error. i have also attached the pic for that 
    It would be very kind of you if you could guide me through 
    Regards
    Jalashwa
    Attachments:
    CMD.png ‏560 KB
    smtp error 2.png ‏100 KB

  • SMTP Email Send Message

    Hello,
    I want to use the  "SMTP Email Send Message vi". I do not know how I can  find the the IP Adresse from the mail server?

    Ask the person who is responsible for the mail server.

  • Why do i get an error 66 when i sent a mail use SMTP Email Send File.vi?

            When i use SMTP Email Send File.vi,it works very well for some special mail sever such as the sever of my company,For others,while debugging it ,i use a free email address from 163 (http://mail.163.com/) or Sina(http://mail.sina.com.cn/) i get an error 66.I use the default sever port number(incoming mail sever(POP3):110,Outgoing mail sever(SMTP):25).
     Server information for 163:
       incoming mail sever(POP3)op3.163.com
       Outgoing mail sever(SMTP):smtp.163.com
     Server information for Sina:
       incoming mail sever(POP3)op3.sina.com
       Outgoing mail sever(SMTP):smtp.sina.com
    Thank you!

    According to the LabVIEW documentation error code 66 is: "The network connection was closed by the peer", which is not very helpful. There could be a number of reasons why this happens. Could also be that the server was down. I had trouble connecting to one of the sites you listed. Does the server require authentication? I tried the links you provided, but they're in a foreign language and I can't read them, so I can't tell. If authentication is required, then the SMTP VIs provided with LabVIEW won't work since they don't handle authentication. If the server requires authentication you can try the updated OpenG SMTP VIs that I had posted in this thread.

  • Smtp email send file

    Hello,
    I'm trying to send an email with an attachment using the smtp email send file under LV 7.1
    When I run the vi the following message appears: " 500 syntax error , command unrecognized. For example , the command line might be too long".
    The same if I use the email with data.vi example.
    Thank you for your help.
    Andrés

    Hi Marco,
    I've tried your suggestion and the message on the reply string is confused for me: " 220 ctsmtpout.frontal.corre o ESMTP Service ( 7.2.056.6) ready ".
    I attach the vi that I'm trying to run. It is the one on the LV7.1/examples/comm/smtpex.llb        EMail with Data.vi
    Thank you for your help.
    Best regards
    Andrés
    Attachments:
    EMail with Data.vi ‏76 KB

  • SMTP Email Send File.vi

    hola a todos..  
    Quiero enviar un archivo por email pero ninguna opcion me deja adjuntar un archivo, ahora en  Labview 2013 ya no aparecec el vi  SMTP Email Send File  o en donde lo puedo encontrar  
    Gracias por sus respuestas !!!!

    Hola:
    Si vas a Find Examples tienes el ejemplo Send Email using SMTP Client.vi.
    Este programa no envía ficheros pero en la paleta SMTP Email tienes Set Attachments.vi que te permite adjuntar ficheros, así que puedes modificar ese ejemplo incluyendo la posibilidad de adjuntar ficheros.
    Te adjunto figura para mayor aclaración.
    Saludos y suerte.
    http://www.aulamoisan.es

  • SCOT FAX send message error

    Hi,  the send messages in scot for FAX is showing error but it has succussfully received at the destination.we are using topcall for fax service . we have verified as there is no line disconnection infax. what could be reason for this .

    Hi Krishbasis,
    Sorry for late reply.
    I would request you to do complete verification of SCOT configuration. Below are the steps:
    1. Please check what is the default domain you have mentioned. SCOT--> Settings->Default domain.
    Here you have to maintain the domain name properly. It should be like xyz.local.
    2. Please check SMTP configuration: Double clicking on SMTP node you should check Mail host is proper
    and also mail Port should be 25.
    3. Under "Supported address Types" option "Internet" should be checked. Go to respective Set button
    Here in Address area try giving * or specific to the address you will be sending mail.
    4. Check if you have scheduled the "Send Jobs". Its in "Settings -->Send Jobs". You can schedule the job for
    "All Address Type" and schedule the job with proper user. Check in SM37 if the job is scheduled.
    5. For testing you can use tcode: SBWP. From there you can send test mail to the desired address
    (check your organization policies before sending mail to external mail ID).
    While triggering "New Message" from SBWP, please select recipient type as "Internet Address".
    6. To check the status go to tcode: SOST and check if it is delivered. You can try reprocessing once more.
    But before all these things you have to ensure that your server IP is included in SMTP server. You can check with
    any OS administrator about this.
    Keep us posted.
    Regards,
    Sujit.

  • Z10 SMTP Email Sending Issues

    Hello
    Could you let me know if you have a workaround for the issue with not being able to send SMTP emails from the new Blackberry Z10 on build 10.0.10.82
    The message I get is 'Protocol Layer was unable to send a message'
    There is an ever growing discussion on the message boards….
    http://forums.crackberry.com/blackberry-z10-f254/unable-send-some-e-mails-protocol-layer-unable-send.../
    http://forums.crackberry.com/blackberry-z10-f254/heads-up-email-bug-recent-z10-os-versions-779341/
    http://forums.crackberry.com/blackberry-z10-f254/cant-send-e-mail-via-smtp-z10-785848/
    I have tried the following;
    Using a different port for smtp (currently using 465 with SSL)
    Tried turning SSL off and using port 25
    Tried using a local smtp from my service provider (Etisalat raher than auth.smtp.1and1.co.uk)
    Using a different email
    None of the above work.
    Any assistance much appreciated...

    6hugo9 wrote:
    Yes please -- it's annoying that March-2013 update has introduced such a crippling facility.
    I have IMAP and Exchange accounts setup, and all of my email accounts suffer this problem every day ..
    Quite dibilitating - and not good when this is my primary communication device... I dont look forward to having to resort to an Android based phone if this doesnt get fixed fairly soon 
    Regards
    @6hugo9 - I think that you are talking about two seperate issues, unless you are also using 1&1 as your email provider.
    @jjclarke - The 1&1 issue looks like it is being looked into, there is a KB article here. That said, the more of you that call into your Carrier's Blackberry support teams and report the issue, the more likely you are to get it resolved. You may even find that there is already a resolution in the pipeline waiting for Carrier's to OK the release of the updated software?
    @6hugo9 - you are listing a number of seperate issues in your linked threads. There is a bug that shows up on some servers over SMTP that the z10 is botching the HTML encoding on the emails (fortunately my server are not having this issue, knock on wood!), also others are having issues with ports being blocked (port 25 is quite frequently blocked by ISPs for anti-spam reasons) which would stop email from being sent.. as you wouldn't be able to connect to your server.
    Regardless, the best way to get to the bottom of that issue is also to call your carrier's Blackberry support team.. that will get the issue escalated on the development side. The "more the merrier", so to speak.
    A little birdie told me that when that SMTP encoding bug was introduced, the Blackberry support teams were swamped with calls.. So one has to assume that the devs were then working hard on resolving the issue. I imagine that we are all now waiting on our carriers for the fix to be sent through after they get done with the Carrier's "OS tests" that are always delaying our software updates.
    Best bet is always to call in and get a resolution, especially for extremely important issues like this one.
    -: DrewRead :-
    Can't find an app on Blackberry World yet? Tweet the developer and ask when they will #GetWithBB10 !!
    "Like it" if you like it.

  • SMTP email sending and executable

    Hi all !
    I have some problems related to my executable I talked about in another message. I decided to create another thread to that question. Hope I'm doing it right !
    As I told you my code is working perfectly. But I got some problems when I created an executable. You guys helped me solve them but now I got another problem:
    I'm using SMTP to send a message notification after a certain condition is met (please see the attached VI).   The "normal " code is working well but the executable, not!
    When I run the executable it's continually sending emails. It should normally send just one time! Can somebody tell me  what's going wrong with my executable?
    Best regards
    Kabanga
    Attachments:
    Email_and_Executable.vi ‏21 KB

    Hi Mike,
    thanks for your help.
    I just put the "OK" button for explanation purpuse. In fact the "ok" is done programatically each time I receive a defined byte from the serial port (please see the attached VI).
    You helped me solve the problem related to byte reception and case-structure "driving"  last week. I'm very sorry not having mentioned it to you know.
    Is it possible in that case to use the event-structure?
    Best regards
    Kabanga
    Attachments:
    Email_and_Executable_modified.vi ‏20 KB

  • SMTP email sender

    I need to install something that will accept smtp email messages from localhost and send them out.
    I do not need a full blown email server. I do not need to receive emails, just send.
    Any suggestions ?

    I may be wrong (i'm a noob) but msmtp and ssmtp require an account on some external smtp server to which they redirect emails.
    I want a standalone smtp server that can send emails itself, without any account anywhere. But I do not want a hassle of setting up a full blown email server, because i do not need to accept incoming emails, setup inboxes etc.
    I just want to send out emails.
    Is there a simple standalone smtp server ?
    If not which of the full email servers are the most simple to setup so i can disable all the stuff i do not need.
    Speed and performance does not matter.
    Here's the example of windows program with similar functionality:
    http://www.softfolder.com/easy_smtp_server.html

  • "Unable to send Messages" error?

    Within the Messages app on my Galaxy S5 I'm getting an error message stating "Unable to send messages" on the space I would type in my text. How do I fix this?

        Let's make sure we keep those messages flowing, NathanD96. stef7, provided a great suggestion with clearing the application cache. Were you able to do this successfully? If you are still having problems sending a message, please try deleting the entire thread and sending a new message.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Native email sends message multiple times

    Since I have updated to the new OS, the email app is now sending messages multiple times. When I initially send it, it appears to be unsuccessful, as it is in the Inbox with a red X. But the message is sent. The app keeps trying to send the "unsuccessful" message, and the recipient ends up receiving the same message more than once. Anyone else having this problem, or have an answer?

    This issue has not yet been resolved in the below thread either.
    http://supportforums.blackberry.com/t5/BlackBerry-PlayBook/E-mail-duplications/td-p/1675471
    I would give rim a call to let them know of your problems.
    If they can't track it they won't know how many users this is affecting. I imagine it will get solved a lot quicker if they know just how many users it's affecting.
    Good luck

  • FMS trigger for Subject in email 'Send Message' window

    My goal is to auto-populate certain fields in the 'Send Message' window based on the user creating the email. For example, the sales and purchasing people routinely email their SOs and POs to the Business Partner contact on the document. The vast majority of the time, that is what they use SAP email function for, so it would be great if I could default the Subject appropriately. Here is my query for FMS:
    SELECT
    CASE (SELECT T0.USER_CODE FROM dbo.OUSR T0 WHERE T0.UserID =$[user])
           when 'Salesperson1' then 'Please see attached confirmation of your sales order'
           when 'Purchaser1' then 'Please see attached PO'
           else ''
    end
    as message
    If I attach this query to a field in another window, e.g. Sales Order Remarks, and trigger Auto Refresh when Field Changes, 'Customer/Vendor' code, the FMS returns the correct message, so  I know the query is good. My problem is that I have so few choices for Auto Refresh field on the Send Message window. Anybody have an idea on how I could get the Subject to populate when the window opens?

    The Subject field is the only mandatory field you need to change on that form.  Therefore, FMS may not work unless you click on Priority for every single email.  If you can accept that, refresh based on that field might be viable.
    Thanks,
    Gordon

  • TS3276 email won't send or close when cannot send message error shows and won't change outgoing server as requested.

    email freezes when "cannot send using ------ server" comes up even when I change server settings.

    How are you trying to change the server?

Maybe you are looking for

  • HELP with Presto Poll

    Ok, I have been trying to add a poll on my site for two days and the frustration is overcoming me! :-( I have no, let me repeat again, no experience with SQL databases, so after some surfing I came across a little PHP program called Presto Polls. See

  • Why does my leading zero disappear

    I have created a 4 number field.  Why does my leading zero disappear when moving onto the next field.  How can I correct this? Thanks.

  • HT201210 Trying to update iPhone 3GS to iOS 6

    I am unable to update my iPhone 3GS from the phone itself to iOS 6. I have no idea how to do it directly from the phone?! My husband has the 3GS and I have the 4. I have successfully updated mine to the new iOS 6, but his doesn't have the option for

  • Can any one implement Discrete wavelet transform in PDA module

    the attached vi does denoising based on dwt of waveform it works perfectly on computer but it shows some error when I try to run it as a pda module as I have used a dwt block from signal processing toolkit,could anyone suggest a solution or any other

  • Green frames when exporting from CC 2014

    Hello. I just updateted to the newest edition of premiere pro(aswell as all the other CC software i have installed which includes phoshop,speedgrade,audition,ame, and after effects). So the versions of the software are the very latest. My computer is