<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid email adress in tsendmail in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229399#M20355</link>
    <description>Hi 
&lt;BR /&gt;Move tSendMail to a child job, check the option 'die on error' on tSendMail, so that the child job will die once the email adrees is invalid or does't exist, output the current email address to a file or a database. The job design as below: 
&lt;BR /&gt;parent job: 
&lt;BR /&gt;...other part of job--main--tFlowToIterate--iterate--tRunJob 
&lt;BR /&gt;on tRubJob: call the childjob and pass the current email address to child job, uncheck the option 'die on error', so that the job will continue to process next email adress even though child job fails on last email address. 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tSendMail 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjoberror 
&lt;BR /&gt; | 
&lt;BR /&gt;tFixedFlowInput--main--file or DB component 
&lt;BR /&gt;on tFixedFlowInput: generate the current email address. 
&lt;BR /&gt;About how to pass a value from parent to child job, see 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCj5rCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Passing-context-parameters-in-a-tRunJob/td-p/66305&lt;/A&gt;</description>
    <pubDate>Thu, 16 Aug 2012 12:51:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-16T12:51:55Z</dc:date>
    <item>
      <title>Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229393#M20349</link>
      <description>Hi, 
&lt;BR /&gt;i have a problem with wrong email adress in tsendmail. I test my procedure with to rows in the database, one with a wrong email. When i run the job, i get this message : 
&lt;BR /&gt; javax.mail.SendFailedException: Invalid Addresses; 
&lt;BR /&gt; nested exception is: 
&lt;BR /&gt; com.sun.mail.smtp.SMTPAddressFailedException: 550 &amp;lt;ERR-C1&amp;gt; Unknown recipient 
&lt;BR /&gt;My question is how to get information on the wrong email to update it in the database. 
&lt;BR /&gt;Thanks for your help. 
&lt;BR /&gt;Raphaël</description>
      <pubDate>Wed, 08 Aug 2012 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229393#M20349</guid>
      <dc:creator>Raphael2</dc:creator>
      <dc:date>2012-08-08T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229394#M20350</link>
      <description>rlaurent, 
&lt;BR /&gt; 
&lt;BR /&gt;Add the following after your tSendMail: 
&lt;BR /&gt;tFixedflowInput --&amp;gt; tLogrow ( or to a table/file which is needed) 
&lt;BR /&gt;Connect the tSendmail with the tFixedflowinput using an OnComponentError link. 
&lt;BR /&gt;In the tFixedflowInput you create a schema with 1 column (or more if u want) and generate 1 row. 
&lt;BR /&gt;For the value use the key parameter from your tFlowToIterate. (just like u used in tSendmail) 
&lt;BR /&gt;I think it should work like this. 
&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 08 Aug 2012 15:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229394#M20350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229395#M20351</link>
      <description>Hi MPA, 
&lt;BR /&gt;Thank you for your proposition, but it doesn't work. 
&lt;BR /&gt;The component as no error, I guess the error message comes from the SMTP server. As you can see in the picture above the process ends without any error (exit code=0). 
&lt;BR /&gt;My concerne is : 
&lt;BR /&gt;how to prevent from wrong email 
&lt;BR /&gt;or 
&lt;BR /&gt;how to test the email adress before sending the email 
&lt;BR /&gt;or 
&lt;BR /&gt;How to catch the exception message and connect it to the email adress. 
&lt;BR /&gt;I try the last solution using the Tlogcatcher catching the java exceptions, but without any result at the moment. 
&lt;BR /&gt;Thanks for your help 
&lt;BR /&gt;Raphaël</description>
      <pubDate>Thu, 09 Aug 2012 09:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229395#M20351</guid>
      <dc:creator>Raphael2</dc:creator>
      <dc:date>2012-08-09T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229396#M20352</link>
      <description>rlaurent,
&lt;BR /&gt;If the component indeed does not give an error but just a warning it won't work. 
&lt;BR /&gt;Maybe you could try filtering the emailadresses and do some basic checks for the format, for example does the emailadress looks like "%@%.%".
&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 13 Aug 2012 09:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229396#M20352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229397#M20353</link>
      <description>Hi, 
&lt;BR /&gt;You can use a tExtractRegexFields with some statements like "(*)@(*).(*)" to filter the valid email addresses and Rejected rows can be sent to different flow, may be a log file or database store, for updation later 
&lt;BR /&gt;-- 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Vinod</description>
      <pubDate>Mon, 13 Aug 2012 09:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229397#M20353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229398#M20354</link>
      <description>hi,
&lt;BR /&gt;thank you for your responses. I try those solutions, but it's only a part of the problem. The email that return a error message from the SMTP server has a good syntax, but doesn't exist.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Raphaël</description>
      <pubDate>Mon, 13 Aug 2012 12:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229398#M20354</guid>
      <dc:creator>Raphael2</dc:creator>
      <dc:date>2012-08-13T12:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid email adress in tsendmail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229399#M20355</link>
      <description>Hi 
&lt;BR /&gt;Move tSendMail to a child job, check the option 'die on error' on tSendMail, so that the child job will die once the email adrees is invalid or does't exist, output the current email address to a file or a database. The job design as below: 
&lt;BR /&gt;parent job: 
&lt;BR /&gt;...other part of job--main--tFlowToIterate--iterate--tRunJob 
&lt;BR /&gt;on tRubJob: call the childjob and pass the current email address to child job, uncheck the option 'die on error', so that the job will continue to process next email adress even though child job fails on last email address. 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tSendMail 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjoberror 
&lt;BR /&gt; | 
&lt;BR /&gt;tFixedFlowInput--main--file or DB component 
&lt;BR /&gt;on tFixedFlowInput: generate the current email address. 
&lt;BR /&gt;About how to pass a value from parent to child job, see 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCj5rCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Passing-context-parameters-in-a-tRunJob/td-p/66305&lt;/A&gt;</description>
      <pubDate>Thu, 16 Aug 2012 12:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-email-adress-in-tsendmail/m-p/2229399#M20355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-16T12:51:55Z</dc:date>
    </item>
  </channel>
</rss>

