DataIntegrator 11.7 Mail SMTP issue

Hello,
We have an unknown problem with sending mail using "smtp_to" function.
Mails are send and received correctly by our users, however we still have in DI Management Console an error log saying :
Failed to communicate with SMTP server on <QUIT> command. Please try to run it manually to see the actual error.
Thus, our job execution is marked as a failure even if every workflow was done correctly.
It's disturbing because we don't know if there was a true problem during our job execution or if it's simply this strange SMTP error. Every job either it fails or succeed is marked as a failure.
Which parameter could be wrong with our smtp configuration ?
Thanks,

We have this same problem, sporadically, with our environment.  (Data Services on Windows, talking to a Linux-based SMTP server, with MS Exchange in the back end.)
Our workaround:  Install Windows' SMTP services on the Data Services server, and route email messages through that local SMTP server (which forwards to the corporate SMTP server).  This seems to be more forgiving.

Similar Messages

  • Exception in Sending Mails - Must issue a STARTTLS

    Sending Mails to Multiple Users
    I m getting this error, can somebody tell me what could be the possible error here:
    530 5.7.0 Must issue a STARTTLS command first k39sm4421196wah
    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first k39sm4421196wah
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
    at MailSender.sendMessageTo(MailSender.java:46)
    at Mailer.sendMessages(Mailer.java:19)
    at Mailer.main(Mailer.java:33)
    Exception in thread "main" com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first k39sm44211
    96wah
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
    at MailSender.sendMessageTo(MailSender.java:46)
    at Mailer.sendMessages(Mailer.java:19)
    at Mailer.main(Mailer.java:33)

    Your server wants you to issue a STARTTLS command to switch the
    socket to a secure connection. You can allow JavaMail to do that by
    setting the "mail.smtp.starttls.enable" property to "true" when you create
    the Session. See the SSLNOTES.txt file included with JavaMail and the
    com.sun.mail.smtp package javadocs.

  • IPhoto 11 (9.2.1) can't use iCloud Mail smtp server for email.

    iPhoto 11 (9.2.1) can't use iCloud Mail smtp server for email.  "The email server didn't recognise username/password combination".  Both appear correct in preferences/accounts.  Mail sends and receives messages perfectly.
    (This problem also occurs when trying to send from Thunderbird, however both iPhoto and Thunderbird can send perfectly well using the Gmail server).

    Hi there
    I should explain that I have 5 days experience of the iMac but have had a working iCloud account with my iPad for several months.  I don't think this is an iCloud issue as such. My thought is that this is something to do with the Mail application itself and its relationship to my Apple ID etc. (Perhaps when the iMac first configured itself?)
    I have deleted and manually reset both Mail and iPhone account settings for iCloud using the Apple recommended settings and I have tentatively checked that the username/password combination is as expected in Keychain but I'm too much of an Apple novice to go any further with that.
    On a PC I think I would try reinstalling the Mail programme but I don't see that as an option.

  • Testing Outgoing Mail (SMTP) server does not work

    I want to set up the Outgoing Mail (SMTP) servers using the Notification Methods page. After filling-in the fields with the correct name of the server and a correct email address, when I click on Test button, it returns the following error:
    <br>
    smtp.futuretrends.com: Test failed with message: "Sending failed; nested <br>exception is: javax.mail.SendFailedException: Invalid Addresses; nested<br> exception is: javax.mail.SendFailedException: 554 <[email protected]>:<br> Recipient address rejected: Access denied<br>
    <br>
    By the way, the outgoig email server is using port number 25
    <br>
    How can I resolve the issue?

    Please put more light about your environment
    oms version,platform etc

  • URGENT::Status returned by Transport.send() and problem with mail.smtp.host

    Hello,
    I am writing a code to send an email using JavaMail. I have added mail.jar and activation.jar in the classpath. Also I would like to mention that I am using Weblogic6.1 SP4.
    A bunch of questions:
    1. After calling Transport.send(), how do i know if the mail was sent successfully or not ?? Is there anyway I can handle that?
    2. I am using props.put(mail.smtp.host, <some-value>). What should be this <some-value> ?? Where can I get this value from??
    And is this value sufficient for the code to know that which server we are using for it? Do we need to give any URL/Port etc? How does this work?
    3. Is there anything else other than smtp host, username and password to be added to props?? Do we need to create a properties file??
    4. After doing these things, do I need to create a mail session in the Weblogic server also or is it a different method?
    Please help me in resolving these issues.
    Thanks

    Thanks for your kind answers, Dr. Clap..!!
    However, I will again like to ask u this:
    1. As i said that I installed Weblogic 6.1 in my local machine, can I use it as the mail server? As the server is local to my machine, i know that its only me who is the incharge of it. How do I know what smtp host to use.
    2. I am using this code:
    public callService(ServiceRequest request) throws Exception {
         EmailRequest req = (EmailRequest) request;
         Session session = null;
         MimeMessage msg = new MimeMessage(session);
         String accNum = req.getAccountNumber();
         String toAddress = req.getToAddress().trim();
         String fromAddress = generalConfig.FROM_EMAIL_ADDRESS;
         String subject = req.getSubject().trim();
         String message = req.getMessage().trim();
         String [] arrToAddress = null;
         String fileName = "./"+accNum+".htm";
         if (toAddress != null) {
    arrToAddress = convertToArray(toAddress);
         Properties props = System.getProperties();
         props.put("mail.smtp.host", "MYSERVER"); //STILL NEED TO FIGURE OUT WHAT VALUE TO PUT HERE
    session = Session.getDefaultInstance(props);
         setRecipientsTo(msg,arrToAddress);
         msg.setFrom(new InternetAddress(fromAddress));
         msg.setSubject(subject);
         msg.setText(message);
    MimeMultipart mp = new MimeMultipart();
    MimeBodyPart text = new MimeBodyPart();
         text.setDisposition(Part.INLINE);
         text.setContent(message, "text/html");
         mp.addBodyPart(text);
         MimeBodyPart file_part = new MimeBodyPart();
         File file = new File(fileName);
         FileDataSource fds = new FileDataSource(file);
         DataHandler dh = new DataHandler(fds);
         file_part.setFileName(file.getName());
         file_part.setDisposition(Part.ATTACHMENT);
         file_part.setDescription("Attached file: " + file.getName());
         file_part.setDataHandler(dh);
         mp.addBodyPart(file_part);
         msg.setContent(mp);
    Transport.send(msg); //send message
    In this code, like I am using Properties class, will this code work fine(as it is) even if I dont make any Properties text file?? or is it mandatory for me to make the properties text file and to add some values to it?
    I am sorry, I may sound a bit dumb, but I just need to learn it somehow.
    Thanks.
    P.S: convertToArray() and setRecipientsTo() are my own defined private methods.

  • An error occured while sending mail: SMTP server error.  The server responded: (null)

    I'm getting this set of error messages intermittantly:
    <P>
    An error occured while sending mail: smtp server error
    the server responded: (null) contact email admin
    for assistance
    other message
    an error occured while sending mail: smtp server error
    the server responded: intermail,
    end with quote.quote contact email admin
    for assistance
    <P>
    This problem may occur at low-use times when Messaging is installed with the
    Trend virus protection software on the same system.
    <P>
    Change the version of the Trend software from 3.0 to the older 2.62 version.

    It's possible that your provider has made a change.
    I think STARTTLS usually is used with port 587, instead of the standard SSL port 465.
    Could you look up your provider's current SMTP settings to see whether your "Outgoing Server" settings need to be updated? If it's difficult to translate between your provider's help page and Thunderbird's dialog controls, you could provide a link to your provider's help page.

  • Setting the JavaMail properties especially: mail.smtp.timeout

    Hello,
    I am desperately trying to set the mail.smtp.timeout on a Spring JavaMailSenderImpl.
    Here is what I undertook:
    <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
    <property name="host" value="${mail.server}"/>
    <property name="port" value="${mail.port}"/>
    <property name="javaMailProperties">
    <props>
    <prop key="mail.smtp.connectiontimeout">1000</prop>
    <prop key="mail.smtp.timeout">1000</prop>
    </props>
    </property>
    </bean>
    The javaMailProperties seem to be completely ignored by my Java Mail implementation. Can anyone please help?
    If I can't set this property through Spring, how can I set it?
    Thanks in advance,
    Julien.

    I notice the API documentation for com.sun.mail.smtp says that property should be an int. Is it possible that Spring doesn't know that, and sets it as a String by default? And that you should be specifying the property type somehow?
    Note: I know nothing about Spring except what it's for. This is just speculation.

  • Transport Mail Database issues crashing Transport service

    We are experiencing frequent issues on Hub servers (as often as once a week) where Transport Mail DB issues crash the Transport service.  Had an MS specialist in the other day who could not exactly figure out the root cause.  The pattern usually is as follows:
    1. Event ID 486 - This event refers to a failure to move a log file (associated with Transport Mail DB queues) because it is being used by another process.  What that process could be is unknown.
    2. Event ID 413 - Unable to create a new logfile because the database cannot write to the log drive.
    3. Event ID 492 - The logfile sequence in <dir> has been halted
    4. Event ID 17019 - A database operation has encountered a I/O error. The Microsoft Exchange Transport service is shutting down. Exception details: Microsoft.Exchange.Isam.IsamLogWriteFailException: Failure writing to log file (-510)
    Also followed by events 7001,1022,1002, and 1003.
    Haven't been able to determine what is causing Event ID 486.  Not aware of any process that would be tying up the access to the log file.  These queue files are stored on a local disk, not a SAN. 
    Any ideas as to what could be causing this?  Running E2K7SP1 Rollup 2 currently on all Exchange systems.

    Hi,
    I suggest that you use the following method to check which process access the log file indicated in the event 486:
    Using Process Explorer
    http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
    Then, we did the following:
    1. Launch Process Explorer
    2. Click Find, Find Handle or DLL
    3. Enter the log name indicated in the event 486 and click Search
    In addition, please also check whether any events such as 150004 occur before the Transport service crashes. If you notice the event, I also suggest that you refer to the following article:
    http://technet.microsoft.com/en-us/library/bb201658(EXCHG.80).aspx
    Mike
     

  • Mac OS X Leopard Mail SMTP server keeps going offline and won't come on

    My SMTP in mail on my email accounts keeps going offline and I can't work out how to get it working again. My internet connection is fine. I am receiving emails. I was able to send earlier on my business email account but now my .mac account has gone offline and then my business on went on me.
    I only started using my business email account in mail today and loaded the account into mail. Does anyone have any answers for this as I can see there have been some other people who might have had a similar problem but I can't see any fixes?
    I have deleted and reloaded both my .mac and work account a couple of times now and restarted my computer but still no good.
    Can anyone help?

    I have that offline mail smtp server when I try to send emails from work with my macbook. I've always been able to send emails away from home using the login and password in the smtp configurations. It's a real pain since I use one email account for work and personal business. I can receive email but cannot send any. Everytime I have to answer an email while I'm working, I have to go to the browser, go to my provider's mail page, login and send from there my emails.
    Do we have the same problem?

  • In which community is it best to discuss mail.app issues?

    In which community is it best to discuss mail.app issues?

    You should ask in the forum for the version of OSX you are using:
    OS X Yosemite
    OS X Mavericks
    OS X Mountain Lion
    Mac OS X v10.7 Lion
    Mac OS X v10.6 Snow Leopard

  • "mail.smtp.from" is not working for me

    There seem to be zero other posts like this, so I'm probably just doing something obviously dumb,
    but for me, setting the mail.smtp.from property seems to have no effect.
    The debug output shown below says to me that while the property has been set, the transport is using the From address not the value of the property.
    Any suggestions for what might be causing this?
    //set:
    Properties prop = new Properties();
    prop.put("mail.smtp.host", SMTPServers ); //see below
    prop.put("mail.smtp.from","[email protected]");
    sessions{i} = Session.getInstance(prop, null);
    //use:
    System.out.println("(session mail.smtp.from is '" + sessions{i}.getProperty("mail.smtp.from") + "')");
    sessions{i}.setDebug(true);
    mimeMsg = generateMimeMsg(msg, sessions{i});
    Transport.send(mimeMsg);
    //the console output:
    (session mail.smtp.from is '[email protected]')
    DEBUG SMTP SENT: mail from: <[email protected]>
    //note - Looks like this forum's software is grabbing my square brackets,
    so {i} in this post stands for opensquarebracket i closesquarebracket...

    I haven't read the FAQ, at least not lately. I'm just stating an interpretation of the behaviour that you described.
    Normally, system properties are used to specify defaults that can be overridden. It doesn't make sense to me to have to set a system property to "override" something that you do normally in your code. As a designer, it's obvious to me that the system property should be the default value for "from" and it should be possible to override that on a message-by-message basis by explicitly setting (and thus overriding) the from-address. And you confirm that it really does work that way. I'm not surprised at all. I would suggest that if the FAQ doesn't say that, then it needs to be fixed.

  • Java Mail,SMTP server not starting,help required urgently

    Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
    am pasting the debug information.please check and let me know
    the compilation ,smtp server and others are all valid
    thanks
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
    C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
    C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.providers (The system cannot find the file specified)
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
    , Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
    Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
    MTPTransport,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.address.map (The system cannot find the file specified)
    C:\Program Files\Java\jdk1.5.0_07\bin>

    The debug output doesn't show an obvious problem. You're
    going to have to actually debug your program. A debugger
    might be helpful.

  • Outgoing Mail server issues

    ooutgoing mail server issues. Rebooted phone, changed password, changed port everything and still no luck !!

    Its something to do with my phone it's self. The exact details in another phone works !! Just can't figure it out.

  • Setting 'mail.smtp.localhost' to make things work

    Hello
    I was getting this error with my initial attempts to send myself an email using JavaMail:
    javax.mail.MessagingException: 501 Syntactically invalid HELO argument(s)
    After hunting around for a while I came across references to doing this:
    props.put( "mail.smtp.localhost", "localhost" )
    So I tried it, and it works!
    I'm happy about that, but I would like to find out why? I just cannot seem to find an answer anywhere.
    I run Windows XP, and my hosts file has not been changed - localhost is still there, as shipped. When I call this:
    InetAddress.getLocalHost().getHostName()
    I get the $COMPUTERNAME value for my PC which happenes to be "HARRY_PC".
    My real concern is what will happen when I deploy my application to other machines - is this little 'hack' likely to break things?
    Hmm...
    Many thanks!
    Harry Mantheakis
    London, UK

    Thanks for that link.
    I had actually looked at it earlier, and next to the 'mail.smtp.localhost' property it reads:
    Local host name. Defaults to InetAddress.getLocalHost().getHostName(). Should not normally need to be set if your JDK and your name service are configured properly.
    Which begs the question: how should my JDK and/or my name service be configured?
    I am sorry to say that I have no idea what JDK configurations to consider, and I do not think a name service is used in my simple test application.
    Regards
    Harry Mantheakis
    London, UK

  • Mail.smtp.host ??

    if I want to send a mail to example: [email protected], what do i have write in properties objet? My code is:
    String host = "?????????";
    String from = "[email protected]";
    String to ="[email protected]";
    // Get system properties
    Properties props = System.getProperties();
    // Setup mail server
    props.put("mail.smtp.host", host);
    // Get session
    Session session = Session.getDefaultInstance(props, null);
    System.out.println("Creo objeto sesion");
    // Define message
    MimeMessage message = new MimeMessage(session);
    System.out.println("Creo objeto Mime");
    try{
    // Set the from address
    message.setFrom(new InternetAddress(from));
    // Set the to address
    message.addRecipient(Message.RecipientType.TO,
    new InternetAddress(to));
    // Set the subject
    message.setSubject("Hello JavaMail");
    // Set the content
    message.setText("Welcome to JavaMail");
    // Send message
    Transport.send(message);
    catch(Exception e){
    System.out.println("Falla");
    }

    read the tutorial carefully, everything is explained in the tasks, let this as it is
    String host = args[0];
    String from = args[1];
    String to = args[2];
    at runtime give the required details the way its given in the task!!

Maybe you are looking for