<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Framework</title><link>https://www.dotnetzone.gr:443/cs/forums/14/ShowForum.aspx</link><description>Θέματα για threading, remoting, reflection, exception handling, security, regex κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Send mail to ms exchange group list</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/58942.aspx</link><pubDate>Thu, 03 Jun 2010 17:48:37 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:58942</guid><dc:creator>Panos Kousidis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/58942.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=58942</wfw:commentRss><description>Ευχαριστώ πολύ, δεν το ήξερα ότι τα distribution lists μπορούν να έχουν δικά τους email&lt;br&gt;</description></item><item><title>Απ: Send mail to ms exchange group list</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/58921.aspx</link><pubDate>Wed, 02 Jun 2010 20:12:36 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:58921</guid><dc:creator>Panagiotis Kefalidis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/58921.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=58921</wfw:commentRss><description>Εάν το distribution list δεν έχει δική του διεύθυνση email, τότε θα πρέπει να χρησιμοποιήσεις EWS (Exchange Web Services) για να μπορέσεις να στείλεις email στο distribution list. Ένας άλλος τρόπος είναι να χρησιμοποιήσεις το code interop library του Outlook (Office Outlook Object Library).</description></item><item><title>Send mail to ms exchange group list</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/58920.aspx</link><pubDate>Wed, 02 Jun 2010 19:03:36 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:58920</guid><dc:creator>Panos Kousidis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/58920.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=58920</wfw:commentRss><description>Καλησπέρα,&lt;br&gt;έχω μια εφαρμογή η οποία θέλω να στέλνει ένα mail σε ένα distribution list που υπάρχει στον exchange.&lt;br&gt;Πως μπορώ να κάνω κάτι τέτοιο;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;        &lt;pre&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Dim&lt;/span&gt; Mail &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;New&lt;/span&gt; System.Net.Mail.MailMessage
        Mail.From &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;New&lt;/span&gt; MailAddress(&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"noreply@test.gr"&lt;/span&gt;, &lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Warning"&lt;/span&gt;)
        &lt;span style="color:Green;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;'Εδώ αντί για email θέλω να το στείλω σε group όπως όταν πατάω το To... στο Outlook και διαλέγω Global Address Book        &lt;/span&gt;
        Mail.&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;To&lt;/span&gt;.&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Add&lt;/span&gt;(&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"panos@xxx.gr"&lt;/span&gt;)
        Mail.Subject &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Test mail"&lt;/span&gt;
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Dim&lt;/span&gt; mailclient &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;New&lt;/span&gt; SmtpClient(&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"mailsrv"&lt;/span&gt;, 25)
        mailclient.DeliveryMethod &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; SmtpDeliveryMethod.Network
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Try&lt;/span&gt;
            mailclient.Send(Mail)
            &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;MsgBox&lt;/span&gt;(&lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Message Sent"&lt;/span&gt;)
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Catch&lt;/span&gt; ex &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/span&gt; Exception
            &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;MsgBox&lt;/span&gt;(ex.Message)
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;End&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Try&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br&gt;</description></item></channel></rss>