<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[POP an Mail-Host übermitteln]]></title><description><![CDATA[<p>Hi,</p>
<p>habe einen MailClient geschrieben, der automatisch Mails an den Server schickt.<br />
Dies funktioniert momentan nur, wenn ich mich zuvor an meinem Konto anmelde, da <a href="http://web.de" rel="nofollow">web.de</a> zur Authentifizierung das pop before smtp Verfahren nutzt.<br />
Wie die Reihenolge der pop-Commands auszusehen hat, hab ich hier gefunden:<br />
<a href="http://www.thomas-fahle.de/pub/perl/Mail_and_News/Telnet_POP3.html#commands" rel="nofollow">http://www.thomas-fahle.de/pub/perl/Mail_and_News/Telnet_POP3.html#commands</a></p>
<p>Nur finde ich leider keine Informationen zur genauen Syntax. Kann mir jemand weiter helfen?<br />
Bei smtp arbeite ich mit folgenden char-array, welches Zeile für Zeile durchlaufen wird.</p>
<pre><code class="language-cpp">char *smtp[] = {
					  &quot;HELO smtp.web.de\r\n&quot;,  // Mail Host
					  &quot;MAIL FROM:&lt;bla@web.de&gt;\r\n&quot;,     // Absender  
					  &quot;RCPT TO:&lt;bla@web.de&gt;\r\n&quot;,  // Empfaenger  
					  &quot;DATA\r\n&quot;,  
					  &quot;FROM: &lt;bla@web.de&gt;\r\nTO: &lt;bla@web.de&gt;\r\nSUBJECT: Testmail!\r\n&quot;,
					  &quot;Hier steht der Inhalt!!!\r\n.\r\n&quot;,  
					  &quot;QUIT\r\n&quot;
					};
</code></pre>
<p>Danke,<br />
TheOne</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/203854/pop-an-mail-host-übermitteln</link><generator>RSS for Node</generator><lastBuildDate>Sun, 28 Jun 2026 18:56:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/203854.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Jan 2008 13:12:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:12:30 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>habe einen MailClient geschrieben, der automatisch Mails an den Server schickt.<br />
Dies funktioniert momentan nur, wenn ich mich zuvor an meinem Konto anmelde, da <a href="http://web.de" rel="nofollow">web.de</a> zur Authentifizierung das pop before smtp Verfahren nutzt.<br />
Wie die Reihenolge der pop-Commands auszusehen hat, hab ich hier gefunden:<br />
<a href="http://www.thomas-fahle.de/pub/perl/Mail_and_News/Telnet_POP3.html#commands" rel="nofollow">http://www.thomas-fahle.de/pub/perl/Mail_and_News/Telnet_POP3.html#commands</a></p>
<p>Nur finde ich leider keine Informationen zur genauen Syntax. Kann mir jemand weiter helfen?<br />
Bei smtp arbeite ich mit folgenden char-array, welches Zeile für Zeile durchlaufen wird.</p>
<pre><code class="language-cpp">char *smtp[] = {
					  &quot;HELO smtp.web.de\r\n&quot;,  // Mail Host
					  &quot;MAIL FROM:&lt;bla@web.de&gt;\r\n&quot;,     // Absender  
					  &quot;RCPT TO:&lt;bla@web.de&gt;\r\n&quot;,  // Empfaenger  
					  &quot;DATA\r\n&quot;,  
					  &quot;FROM: &lt;bla@web.de&gt;\r\nTO: &lt;bla@web.de&gt;\r\nSUBJECT: Testmail!\r\n&quot;,
					  &quot;Hier steht der Inhalt!!!\r\n.\r\n&quot;,  
					  &quot;QUIT\r\n&quot;
					};
</code></pre>
<p>Danke,<br />
TheOne</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444482</guid><dc:creator><![CDATA[TheOne]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:12:30 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:18:22 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444490</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:18:22 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:21:02 GMT]]></title><description><![CDATA[<p>Du verwechselst POP und SMTP. POP dient dazu Mail vom Server zu holen und SMTP dient dazu Mail zu versenden. Was du in deinem Beispiel benutzt ist korrekterweise SMTP und schaut aus meinen unerfahrenen Augen korrekt aus.</p>
<p><a href="http://www.faqs.org/rfcs/rfc2821.html" rel="nofollow">http://www.faqs.org/rfcs/rfc2821.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444492</guid><dc:creator><![CDATA[rüdiger]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:21:02 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:31:44 GMT]]></title><description><![CDATA[<p>Verwechselt hab ich nichts.<br />
Wie schon geschrieben, ich muss bei <a href="http://web.de" rel="nofollow">web.de</a> erst Mails abrufen (Authetifizierung!), bevor ich eine Mail übertragen darf. Alternativ funktioniert es momentan, wenn ich mich kurz auf meinem Account einlogge und mein Programm innerhalb der nächsten ~10min starte...<br />
Und ja, das smpt-Protokoll wird bereits korrekt bedient...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444495</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444495</guid><dc:creator><![CDATA[TheOne]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:34:50 GMT]]></title><description><![CDATA[<p>rüdiger schrieb:</p>
<blockquote>
<p>Du verwechselst POP und SMTP. POP dient dazu Mail vom Server zu holen und SMTP dient dazu Mail zu versenden.</p>
</blockquote>
<p>sein mail-provider macht aber 'smtp after pop' d.h. nutzt pop3 zur authentifizierung.<br />
das pop3-rfc ist hier: <a href="http://www.ietf.org/rfc/rfc1939.txt" rel="nofollow">http://www.ietf.org/rfc/rfc1939.txt</a><br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444497</guid><dc:creator><![CDATA[post-office freak]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:52:57 GMT]]></title><description><![CDATA[<p>ganz richtig post-office freak.<br />
So als Freak, kannst du den benötigten Code nicht zufällig aus dem Ärmel schütteln? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444504</guid><dc:creator><![CDATA[TheOne]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 13:59:38 GMT]]></title><description><![CDATA[<p>auch ein *-freak ist machmal ratlos. du könntest eine pop3 state machine selbst implementieren. ist nicht ganz trivial, wenn alles richtig sein soll. hier ist etwas code für sowas: <a href="http://www.davideous.com/imap-maildir/distrib/imap-4.5_datefix_pre/src/c-client/pop3.c" rel="nofollow">http://www.davideous.com/imap-maildir/distrib/imap-4.5_datefix_pre/src/c-client/pop3.c</a><br />
bestimmt gibts aber auch fertige libraries, einfach mal googlen...<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444510</guid><dc:creator><![CDATA[ärmel-freak]]></dc:creator><pubDate>Sun, 27 Jan 2008 13:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to POP an Mail-Host übermitteln on Sun, 27 Jan 2008 14:11:39 GMT]]></title><description><![CDATA[<p>Woho, da brauch ich ja ne Woche um reinzukommen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /><br />
Vllt weiss jemand anders die genaue, syntaktisch korrekte Reihenfolge, mit der ich aus einem Array und einer send/recv-Schleife die Sache erledige.</p>
<p>Trotzdem danke, du Freak <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1444520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1444520</guid><dc:creator><![CDATA[TheOne]]></dc:creator><pubDate>Sun, 27 Jan 2008 14:11:39 GMT</pubDate></item></channel></rss>