Mailer object

Please Help.
I cannot get a successful mailer object connection to an SMTP server.  The only thing logged by the tracefile is [[NEW SEND]] each time a send is attempted.  Note: Tried both host name and IP address for server field in the mailer object and I have verified server allows unauthenticated SMTP by using a copier on the same IP address successfully through the same SMTP server.
Thanks,
Ed

Hi Ed,
I was able to send mail using the Lookout Mailer object.  However, I am on the same network as that of my mail server. 
If you have LabVIEW on the machine, or even on the same network, you can use the attached VI to rule out any mail-server issues. 
Regards,
-Khalid
Attachments:
dotnet_smtp.vi ‏28 KB

Similar Messages

  • In a Mailer object, how do I include a username and password for authentica​tion or credential​s on my smtp server?

    My trace file is pasted below. 
    [[NEW SEND]]
    SMTP>220-elasmtp-junco.atl.sa.earthlink.net ESMTP Exim 4.34 #1 Wed, 27 Feb 2008 16:51:07 -0500
    220-NO UCE.  EarthLink does not authorize the use of its computers or network
    220 equipment to accept, transmit, or distribute unsolicited e-mail.
    LK>HELO basinenglt
    SMTP>250 elasmtp-junco.atl.sa.earthlink.net Hello basinenglt [65.60.113.243]
    LK>MAIL FROM:<[email protected]>
    SMTP>250 OK
    LK>RCPT TO:<[email protected]>
    SMTP>550 Please configure your mail client to use authentication.
    In visual basic, I'm able to send an email with this code:
            Dim Email As New System.Net.Mail.MailMessage()
            Email.From = New System.Net.Mail.MailAddress("[email protected]​m")
            Email.To.Add("[email protected]")
            Email.Subject = "This is a test"
            Email.Body = "Body of email goes here"
            Email.IsBodyHtml = True
            Dim x As New System.Net.Mail.SmtpClient("smtpauth.earthlink.net​")
            Dim net As New System.Net.NetworkCredential("[email protected]​et", "supersecretpassword")
            x.Credentials = net
            x.Port = 587
            x.Send(Email)
    Is there some way to use this code in Lookout or is there some Mailer datamember I don't know about that I can setup to provide the right credentials?  I'm at a loss for what to do and how to do it.  If I can't figure it out, I'll have to use the Run object in Lookout to call a program that I'll have to make in VB that'll send out an email.  In that case, I've got to install .Net on 60 computers in the field and then I'll have to make a series of exe files for each alarm condition and associate individual Run objects with each.  Sheesh.  Well, anything you all can do to help would really be appreciated.  Thanks for taking the time to answer me.
    Steve

    Lookout mailer object doesn't support authentication. We are considering adding this feature, but not yet.
    Another option for you is to use other Mail Server. There are some free Mail Server softwares which don't do authentication.
    Ryan Shi
    National Instruments

  • Mailer object error message "SMTP: invalid from address. SMTP error 530 5.7.0 Must issue a STARTTLS command first. d5sm35857280yhl.19".

    I am trying to send an email from Lookout V6.6 using the Mailer object.  I have an email address setup through GMAIL and have verified it works.  Also, Lookout Mailer object is able to verify GMAIL server.  I get the following error message when trying to send the email: "SMTP: invalid from address. SMTP error 530 5.7.0 Must issue a STARTTLS command first. d5sm35857280yhl.19".  Anyone know what is causing this?

    Another method is to use a SMTP relayer, we have deployed them in the past.
    http://www.hmailserver.com/index.php?page=welcome
    Mike
    Forshock - Consult.Develop.Solve.

  • Problems with mailer object

    Please help as I can't figure out what I am doing wrong.
    First, let me say that I am not a very proficient user of Lookout and I have been thrown in to get the new 6.0 version running (we have been using the 5.0 version for quite a long time).
    I am trying to get an email sent out when an alarm is created. I have created a Mailer Object that works when I click the Send Email button on the panel, but no email is sent out when an alarm is generated.
    I can't seem to figure out how to get the Mailer Object connected to the alarms.

    Connect the $Alarm.update to "send" of Mailer. Each time there is a new alarm, "update" goes high and trigger the Mailer object.
    Ryan Shi
    National Instruments

  • Setting a category for mail object

    Hello,
    i have been trying to use the object api for setting a category on a selected mail.
    After some research, my question is: Is this even possible with the object api and if so, how? :)
    ( i am using a C3PO and the ClientState.Selected Messages. I then convert the SelectedMessages into a MessageList and so on. I'm not sure if this is the correct way)
    Thanks in Advance!

    If I remember correctly, each GW account can define their own custom set
    of categories in the GW Client or by ObjAPI.
    So, either ..
    * create a new Category definition in the GUI (right click on msg,
    "categories" .. "more" .. "new category"), or
    * use the ObjAPI: Account.CategoryDefinitions.Add( )
    Good luck
    Wolfgang
    On 29.07.2013 07:46, AlexWerner wrote:
    >
    > Update:
    >
    > So far i have not been able to set a category to a mail object.
    >
    > I am able to display the already set categories.
    >
    >
    > The Add-Method of the categories collection asks for a category
    > defintion but i can't figure out how to create one. Simply instantiating
    > a category definition object doesn't work because of COM/Interop.
    >
    >
    > Any help would be greatly appreciated.
    >
    >

  • Help needed in creating a mail object

    Hi,
    is there any option to create a mail objcet in jsp ???
    i.e. the equivalent code to this asp object :
    Set myMail = CreateObject("CDONTS.NewMail");
    regards,
    ashvini

    Check out the JavaMail API. It is part of the Enterprise Edition, but I believe you can also download it seperately.

  • How to extract a .eml (e-mail file) "attachment" from an e-mail

    Hi,
    I have a slight problem with e-mail attachments. It's quite an explanation, so stick with me please.
    I have to extend, debug and adapt an e-mail archive for my company.
    I already worked on this project for 2 months, to make an extra batch and change some functionality of the existing e-mail archive.
    I've been outsourced for a montsh, and now back on the e-mail archive.
    There were some problems with e-mail attachments. (.gif, .doc, ...)
    Some of them weren't shown in the web application.
    The code that already has been written has a custom Email object. This e-mail object contains custom EmailBodyPart objects. Every EmailBodyPart has a disposition (Part.INLINE or Part.ATTACHMENT).
    In every JavaMail Message object, every BodyPart is read, the disposition is extracted, and an EmailBodyPart is created with the disposition and some other data. Then, this EmailBodyPart is added to the Email object.
    But sometimes, an attachment (.gif, .doc, ...) doesn't have the correct disposition in a Message, and isn't added as attachment, but as INLINE.
    This way, in the web application, there aren't any attachments visible for the e-mail, but when you send the mail back to your inbox through the web interface, you can see the attachments again.
    I had to solve this, and make the attachments visible in the web interface, and i did. I just checked if a filename was present, and if it wasn't an image (images still can be inline), then the disposition of the EmailBodyPart is set to Part.ATTACHMENT. It is visible now.
    But now on to the problem...Sometimes, an e-mail (.eml file) is added to an other e-mail as an attachment. But, this e-mail isn't included as disposition attachment, but just as an other message within the message. It doesn't even have a file name. It seems like this is just a forward or something.
    This e-mail should be visible as an attachment of the surrounding e-mail within the web interface. Does anyone have an idea how i can accomplish this and extract this body part as an attachment? Are there any headers i can check? (I printed the headers of the body part and there were only three, content-type, encoding en such ... but nothing like disposition. I tried to set the disposition to attachment to make it visible as an attachment, but that didn't work.
    Thanks already in advance.

    Hi there,
    Thanks for your reply.
    Well, it was kind of a mistake in the webapplication itself. The object passed to the related method was an instance of MimeMessage (the previous programmer only checked MimeMultiParts), and those weren't added to the vector of attachments. Now they are.
    But now i still have problems. I have to give those attachments a file name. I tried extracting the subject from the message, but in the related method the message is casted to a multipart (is needed for further processing), and i can't fetch the sub-message's subject (if i get the part, i can't get the subject header anymore).
    If i don't give the file a .eml extension, it opens a MHTML file or something, and it is unreadable by windows. If i get an InputStream of the part's content, and return that, and give the attachment a .eml extension, i get the outlook window , but all the text is pure HTML code. Not like it should be, and the mail in Outlook doesn't have any headers (no from, no to, no subject, ...)
    Any idea here ? I could suply you with some code, but i don't understand all the steps myself, i got on this project which was build by someone else. It's quite a lot of code.
    Thanks in advance.

  • In BCS HTML mail images are broken

    HI experts,
    I'm using the BCS calls to send out nice looking HTML which also includes one logo.
    Internally, in our LAN, the mails are looking quite nice and the image/logo is displayed correctly (MS Outlook)
    When external users using Lotus Notes try to open such an HTML mail, the image is attached correctly to the mail, but it isn't displayed, just a broken image picture. There's no chance to make the image visible inside the mail, they can just open the attached image itself, outside the mail context.
    Question is now how can I reach that the image is displayed correctly? If this is not possible at all, how can realize that the Lotus Notes users get a "Show Images" link (security restriction - add sender to safe senders)???
    Please find my current coding below, do I miss a parameter some where???
    Best regards, Steffen
    "Create Mail Document
      l_subject = 'Expiring Authorization Notification'.
      TRY.
          lr_email_body = cl_document_bcs=>create_document(
                                           i_type = 'HTM'
                                           i_text = i_mailtext
                                           i_subject = l_subject ).
        CATCH cx_document_bcs .
      ENDTRY.
      "Add attachment to mail  
      TRY.
          lr_email_body->add_attachment(
                    i_attachment_type     = 'GIF'
                    i_attachment_subject  = 'sap_logo'
                    i_att_content_hex     = pick_data ).
        CATCH cx_document_bcs .
      ENDTRY.
      "Create mail object
      TRY.
          lr_email = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Set email document
      TRY.
          lr_email->set_document( lr_email_body ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Set status attribute for read receipt
      "Read receipt should also be disabled in TCODE SCOT
      "N  No Status Is to Be Returned, suppress also in SOST
      "E  Only Error Statuses Are to Be Returned
      "A  Return All Statuses
      l_request_status  = 'N'.
      l_status_mail     = 'N'.
      "Set that you don't need a Return Status E-mail
      TRY.
          lr_email->set_status_attributes(
                  i_requested_status = l_request_status    "E=suppress read receipt N=suppress also in SOST
                  i_status_mail      = l_status_mail ).
        CATCH cx_send_req_bcs .
      ENDTRY.
        TRY.
            lr_receiver = cl_cam_address_bcs=>create_internet_address( l_mail_address ).
          CATCH cx_address_bcs .
        ENDTRY.
        TRY.
            lr_email->add_recipient( i_recipient = lr_receiver ).
          CATCH cx_send_req_bcs .
        ENDTRY.
      "If not imported create BCS sender from sy-uname
      IF i_sender IS INITIAL.
        TRY.
            l_sender = cl_sapuser_bcs=>create( sy-uname ).
          CATCH cx_address_bcs .
        ENDTRY.
      ELSE.
        l_sender = i_sender.
      ENDIF.
      "Set Sender
      TRY.
          lr_email->set_sender( l_sender ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Send email directly
      TRY.
          lr_email->set_send_immediately( 'X' ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Now send the mail
      TRY.
          l_send_result = lr_email->send( i_with_error_screen = 'X' ).
        CATCH cx_send_req_bcs .
      ENDTRY.

    I also had this problem with the Oracle HTTP Server and mod_plsql install.
    I battled with this for a while, I manged to get the images displayed etc.. by adding the following directive in httpd.conf
    <Directory "/yourpath/Apache/Apache/apex/images/">
    allow from all
    </Directory>
    Still playing around with it - perhaps I need to dig further/security rules etc..
    But at least its something.

  • Drivers Stop when mailer sends email

    We have recently deployed a proven mailer process to a customers existing installation. The process sends out a text message based on alarm conditions. On our customers computer whenever the mailer object is triggered, both an AB driver (ethernet to a SLC500) and a Modbus driver (TCP/IP) generate communication alarms and will not restart until Lookout is shutdown and restarted.  Simply restarting the driver process will not restart the communications. The Modbus error is "No response from socket", the AB  error is "cannot communicate with device (code=2)". There is also a DirectLogic Plus driver object that provides ethernet communications to several Koyo PLCs, this driver is not affected. I can NOT duplicate this at our office, our test setup works as expected. We have tried this both with and without using a SMTP server, there is no difference. We have also used this same basic arrangement at other sites without any problems.
    The system is Lookout 6.1 with updates, the PLC network(ethernet) has 1 SLC500, 4 direct Logic DL260 and DL06s, one Modbus device through a Digi Serial server, 2 Cmore touch screens, and 1 panelview touch screen. The troubled computer is WindowsXP SP3, has two nics, one wired for PLCs and one wireless for internet. Our test computer that works just fine is also WindowsXP SP3, has 2 wired nics one for PLC and one for internet. The nics are on different subnets.
    All ideas as to what might be happening are appreciated.
    Jim Besselman

    The email is successfully sent by Lookout. I haven't tried pinging the smtp server but while the communication is good but since the email is sent I expect that we can. We can view web pages normally and send and receive email using outlook express without causing any disruption to the PLC communications. The problem is somewhat unique to either this particular computer or the network settings. We have been using the mailer object for several years with lookout versions 5.1 and higher and various PLC drivers with out seeing this before. I have seen another instance where an onboard network adapter caused Lookout problems even though Lookout was not using the network. In that case the issue was solved by installing a new network card and disabling the onboard network adapter. I'm pretty sure replacing the computer will fix this but I'd really like to know what the cause is.  I guess my next step would be to use a utility to monitor the network traffic unless you've got some other ideas.
    Thanks
    Jim Besselman

  • How to send a  mail to outlook   from iphone flex 4.5.1 app automatically..?

    HI folks,
                     i have to send a mail to outlook for correpanding mailler id  with out  opeing  outlook  from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever  we have given as input those values has to be send to outlook  while pressing submit button  on that  view....(i dont want  to open outlook  and user action on that).
    Please help out on thsi issue..
    Regards,
    Madhu.

    Hello Madhu,
    The only way to send an email without opening a client is: using server-side mail objects invoked by your app.
    This would be the workflow:
    - your user fills in form data (subject, body, mail_to)
    - your application sends form data to a server (via httpservice or webservice or AMF)
    - the server takes care of sending the mail in a way that is transparent to your user
    So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.

  • How to implement asynchronous mailing in SE

    Hi,
    I have a stand-alone application which requires to send mail as "fire and forget".
    I use only java SE. Can i implement it using javax.mail alone or should i go for jms.
    Thanks.

    itsraja wrote:
    for asynchronous sending of mails.Okay, but why do you think you'd need JMS for that? What is it that you think JMS is for?
    I have two files in a package. One the application program. And the other that sends mail using javax.mail. I call this object's method from the application. But i want the application to continue processing immediately after invoking the mail object. I don't want to make it wait for sending mail.So you want multithreading.

  • Image in a mail

    I want to construct an image Object with a .gif or a .jpg attachement without write anything in the hard disk. Is it possible can anyone help me please?

    Do you mean a mail object with an image attachment? If so, you could just search this forum; it is one of the more common questions.
    Gary

  • JavaMail Server: Sockets and Mail

    L.S,
    I'm thinking about combining code based on the Java Mail API and the Java networking tutorial (server sockets). I'm thinking I should listen to ports 25 and 110 using SMTP and POP3 protocol classes respectively.
    The problem I'm running into right now is that I haven't found a way to translate incoming email messages (bytestreams) into Java Mail objects.
    Can anyone point me in the right direction and help me find out how to translate bytes received at ServerSocket objects (ServerSocket(25) and ServerSocket(110)) into Java mails?

    Thanks, those are indeed important documents. Currently, I'm able to listen at port 25 for any incoming network transmissions. Unfortunately, when I try sending an email to the machine, the program sending it reports an error about the domain not being found (I also see nothing in my server console).
    ServerSocket smtp = new ServerSocket(25);
    boolean listening = true;
    while (listening) {
        Socket s = smtp.accept();
        PrintWriter out = new PrintWriter(s.getOutputStream(),true);
        BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream()));
        System.out.println(in.readLine());
        out.println("ok");
        listening = false;
    s.close();
    smtp.close();According to me, the above program should at least print something to the console when another machine in my network sends an email to this machine (all@myclient). Somehow, though, I'm not getting anything...

  • HT5361 How to send a mail to my entire contact list of my Mail app ?

    How to send a mail to my entire contact list of my Mail app ?

    Hello Madhu,
    The only way to send an email without opening a client is: using server-side mail objects invoked by your app.
    This would be the workflow:
    - your user fills in form data (subject, body, mail_to)
    - your application sends form data to a server (via httpservice or webservice or AMF)
    - the server takes care of sending the mail in a way that is transparent to your user
    So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.

  • Dump a Message object to file, rebuild later- Possible or no?

    Hello all-
    I need to pass along a Message object (a mail object) from one component (an Enterprise JavaBean) to another (Also an EJB). Thing is, I want to put it in an XML file- in other words- is it possible to dump a message object as a raw text file, then rebuild it at the destination?
    Now, I guess the problem here is that the Message-class isn't serializable. Can anyone think of any clever workarounds to this??
    -ThomasN, frustrated

    I don't think you can do it with a message class,
    but if what you're looking for is for the raw text of the email you can use the MimeMessage class and use the
    message.writeTo(outputStream) function to put the
    source of the email into a particular stream

Maybe you are looking for

  • Creative Cloud will not load and it is very frustrating

    I have recently downloaded Creative Cloud to download photoshop CC. When I open creative cloud all I see is a blue loading circle constantly spinning and it won't load. I am very frustrated with this and I hope to fix it soon. Thanks in advance for a

  • DVI plug too wide

    So.  I had a splitter DVI to VGA/DVI.  I had one end into my monitor in one room(DVI) and the other(VGA) through the wall to the back of my HDTV in the other room.  Problem, obviously was, if both were connected to the splitter, you could see the com

  • SAP Solution Manager Adapter for SAP Quality Center by HP (ST-QCA)

    Hello Folks, I am configuring Solution Manager, and the current activity asks to download to add-ons that I can't find in the Marketplace - they are required to activate Solution Manager Enhancements: SAP Solution Manager Adapter for SAP Quality Cent

  • Why doesn't Web Proxy Server use default route?

    After downloading Sun Java Web Proxy Server, I notice that the path to retrieve URLs from the internet does not go out the default route. However my pings, traceroutes, telnets, etc. to the same URLs do go out to the default route correctly. I have t

  • Problem after transport to Quality system

    Hi, I've done the transport of my SWCV from DEV to QLD and everything works fine. I've check all the components in the IR and ID and make the necessary adjustments. But when i try to realize a test from RW with my interface all that i can get is a re