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

Similar Messages

  • 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

  • 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 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

  • 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

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

  • 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

  • HT1277 I set up a new folder for an email sender and now my emails are not able to use the rules that I set up.  What can I do to enable them again.

    I set up a new folder for an email sender and now my emails are not able to use the rules that I set up.  What can I do to enable them again.

    I don't seem to be able to copy a rule, but, this is how one rulel displays.
    Name of Rule is Richard Cryar.
    If any of the following conditions are met:
    From contains rcryar@auduboncapital
    Move message to Richard Cryar mailbox
    Not only does this rule not work, but all emails are going into the new box I created and not to the inbox.

  • 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 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

  • Email sending and email general problems

    I am using the latest iPhone software version but these problems have been an issue for a while.
    Firstly, I can only send an email whilst connected with my Wi Fi on. If I try and send without there is an error message saying '...the outgoing server "smtp.me.com" failed. My .mac account is set as my Primary server and I have an ISP account also. I have checked my Mail settings and some of the servers were not active so I have turned them all on and still can't send Mail, other than when connected with Wi Fi. How do you change the order of the email accounts on your iPhone do you have to do that in Mail o your computer then sync with iPhone?
    Secondly, when I receive Mail on my iPhone it comes in ok but if I read it by selecting it it then sometimes doesn't show up in Mail on my computer this has become very annoying because I then have to forward any Mail from my iPhone back to my MBP.
    My ISP email account is a POP account and my .mac is an IMAP

    HI and Welcome to Apple Discussions..
    Try rebuilding the mailbox.
    From the Mac Mail Menu Bar, click Mailbox / Rebuild.
    Takes a few minutes to run.
    If that doesn't help, go to Mail/Preferences. Make not of the preferences under each tab then Quit Mail and locate this file.
    ~/Library/Preferences. Move that .plist file to the Trash and restart your Mac.
    Carolyn
    Message was edited by: Carolyn Samit

  • Blackberry email send and receive problem

    Personal e-mail sent from PC, PC and Blackberry also can receive the e-mail. When i sent from Blackberry, PC can receive the e-mail but Blackberry can't receive the e-mail 

    Hi again,
    OK...so just to see if I understand correctly:
    kendalfung wrote:
     1. My Setting is own email server forward personal email to BB account. 
    You have your own personal email system (POP, IMAP, something) that is not a public (e.g., GMail, Yahoo, HotMail, etc.) email system, but it does face the internet. You have, on that server, some rules that are forwarding certain emails to a "BB account"...I'm not sure what "BB account" that specifically is. Is that an @carrier or @RIM email account?
    kendalfung wrote:
     2. PC using outlook/OE sent to personal email account, BB and PC also can receive the email.
    Using PC-based Outlook or Outlook Express, you are sending (as "TO") to that same email account hosted on your own personal email system. When you do that, both the BB and Outlook/OE receive the email just fine (I am assuming the PC via POP to your personal email system; the BB, by virtue of your server-based forwarding rule, though it is still undefined as to if you mean the @Carrier or @RIM BB email account that I mentioned above).
    kendalfung wrote:
     3. BB sent to personal email, PC can receive the email but BB can't receive the email 
    When you create a new email on your BB, sending "To" that email account hosted on your own personal email system, the Email never arrives to your BB but it arrives on your PC/Outlook/OE just fine.
    If all of that is correct, it would seem to me that the fault lies in the forwarding rule on your email server...it is forwarding emails that it receives by virtue of your Outlook/OE (whatever outbound email relay they are using) but it is not forwarding emails that arrive from the RIM SMTP gateways (which is where all outbound, from the BB, emails come from...the RIM SMTP gateways, not your own).
    kendalfung wrote:
    My setting is working before.
    Before what? What changed?
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Please i am having problem in creating an smtp email sender software

    The software throws an exceptional error which is javax.mail.NoSuchProviderException:smtp. This error is thrown anytime i press the send button. I ensured that i include the library files for the javamail Api, activation.jar and the mail.jar in the library folder of the project package. Pls what could be causing the exception error. Could it be the JAF. i read somewhere that jdk1.6.0_06 lib comes along with the Jaf utility

    What JDK are you using? What server are you using?
    Also, see this [FAQ entry|http://java.sun.com/products/javamail/FAQ.html#servletSecurityManager].

  • Hello need some help on a few things with email sending and rec.

    I have had my bb for a while but am only now really trying to utilize it for more.  I am able to access my yahoo and gmail accounts on it and sync.  However when I tried to import my address book from sbc or tried to add the blackberry email I have run into problems.  It will let me send an email on the bb using the bb email address however I have no idea where it ends up on the desktop though.  I can't send out anything on the outlook from either account.    I am very frustrated to say the least.  The only reason I am wanting to get the bb email set up as there are thousands of items on the outlook that tell you don't remove from the outbox.  Hope that some of this makes sense.  Thanks  Carla 
    I have a curve 8310 
    Message Edited by CarlaVM on 09-12-2009 08:52 PM

    Welcome to the forums CarlaVM
    I am a little confused by your post. Could you please clarify a little better.
    If I understand correctly, you have added yahoo and gmail accounts to the blackberry so that it receives email's from those accounts on to your phone.
    What is "sbc" that you are trying to import your address book from? And expand on why you can't add the "blackberry email" (is this the email that says [email protected]?)
    If you send email using your blackberry account ([email protected]) the sent email  is only stored on your phone (and nowhere else). I would send emails using either your yahoo or gmail email account so that it will save a copy in your email accounts as a backup.
    I don't understand what you mean by sending from outlook? What does this have to do with the phone?
    Take a look at this section of the forums for tips and tricks: http://na.blackberry.com/eng/support/blackberry101/#tab_tab_curve
    I am a little confused by your wording so if you can clarify further I'm sure I, or somebody else, will be able to help you further.
    Cheers
    Kijana
    Please remember to:
    1. Mark Accept as Solution on the appropriate post once your issue has been resolved
    2. Give Kudos to helpful posts (click the star next to the post)
    Thanks

Maybe you are looking for