<?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[Eingabefeld-Text zu E-mail senden]]></title><description><![CDATA[<p>Hallo erstmal bin neu hier,<br />
kenne mich ein wenig mit C++ aus<br />
ich benutze Visual C++ zum erstellen eines programmes<br />
so soweit so gut habe eine nette oberfläche erstellt<br />
so nun zu meiner Frage:<br />
in mein Dialog-Programm möchte ich gerne ein textfeld<br />
einbauen wo man etwas hereinschreiben kann so<br />
und wenn man dann auf enter drückt oder auf einen button soll es zu meiner<br />
email adresse geschikt werden. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>wäre sehr nett wenn ihr dem neuankömmling helfen würdet</p>
<p>mfg<br />
Killnum :p</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/236423/eingabefeld-text-zu-e-mail-senden</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 22:55:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/236423.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Mar 2009 22:28:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 22:28:44 GMT]]></title><description><![CDATA[<p>Hallo erstmal bin neu hier,<br />
kenne mich ein wenig mit C++ aus<br />
ich benutze Visual C++ zum erstellen eines programmes<br />
so soweit so gut habe eine nette oberfläche erstellt<br />
so nun zu meiner Frage:<br />
in mein Dialog-Programm möchte ich gerne ein textfeld<br />
einbauen wo man etwas hereinschreiben kann so<br />
und wenn man dann auf enter drückt oder auf einen button soll es zu meiner<br />
email adresse geschikt werden. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>wäre sehr nett wenn ihr dem neuankömmling helfen würdet</p>
<p>mfg<br />
Killnum :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680150</guid><dc:creator><![CDATA[Killnum]]></dc:creator><pubDate>Sat, 14 Mar 2009 22:28:44 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:22:38 GMT]]></title><description><![CDATA[<p>Woran hapert's denn? Kannst du das Textfeld schon auslesen? Oder stockt's beim mailen?</p>
<p>edit: Und hallo, willkommen! <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/1680162</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680162</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:28:26 GMT]]></title><description><![CDATA[<p>Badestrand schrieb:</p>
<blockquote>
<p>Woran hapert's denn? Kannst du das Textfeld schon auslesen? Oder stockt's beim mailen?</p>
<p>edit: Und hallo, willkommen! <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>
</blockquote>
<p>also das ist so ich hab ja schon ne oberfläche<br />
und brauche den code für die textbox.<br />
die text box soll beinhalten das wenn man dort was eingibt dann auf enter oder ein button klickt diese eingabe an meine email adresse gesendet wird^^ und danke^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680167</guid><dc:creator><![CDATA[Killnum]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:38:30 GMT]]></title><description><![CDATA[<p>Dann schieß mal los, was du genau brauchst, &quot;Code für die Textbox&quot; kann alles mögliche sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680171</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680171</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:38:30 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:40:19 GMT]]></title><description><![CDATA[<p>Standard C++ kennt keine Textbox oder eine E-Mail. Verschieben. Zu deinem problem, poste den code den du zurzeit hast und dann können dir leute auch helfen, keiner hier schreibt 'ne app für dich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680173</guid><dc:creator><![CDATA[move_to]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:40:19 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:51:01 GMT]]></title><description><![CDATA[<p>ein simples eingabefeld so wie bei meinem programm:<br />
<a href="http://s5.tinypic.com/2myt1rm.jpg" rel="nofollow">http://s5.tinypic.com/2myt1rm.jpg</a><br />
und dazu brauch ich jetzt den code der die box dazu macht , wofür ich sie brauch<br />
unzwar schik ich zb diese exe (mein programm) an meinen kumpel dieser gibt da irgendwas ein drückt enter und ich bekomm es zu meiner email adresse</p>
<p>mfg Killnum <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>
<p>Edit: ok hier</p>
<pre><code class="language-cpp">// emailboxDlg.cpp : implementation file
//

#include &quot;stdafx.h&quot;
#include &quot;emailbox.h&quot;
#include &quot;emailboxDlg.h&quot;

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CEmailboxDlg dialog

CEmailboxDlg::CEmailboxDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CEmailboxDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CEmailboxDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
	m_hIcon = AfxGetApp()-&gt;LoadIcon(IDR_MAINFRAME);
}

void CEmailboxDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CEmailboxDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CEmailboxDlg, CDialog)
	//{{AFX_MSG_MAP(CEmailboxDlg)
	ON_WM_PAINT()
	ON_WM_QUERYDRAGICON()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEmailboxDlg message handlers

BOOL CEmailboxDlg::OnInitDialog()
{
	CDialog::OnInitDialog();

	// Set the icon for this dialog.  The framework does this automatically
	//  when the application's main window is not a dialog
	SetIcon(m_hIcon, TRUE);			// Set big icon
	SetIcon(m_hIcon, FALSE);		// Set small icon

	// TODO: Add extra initialization here

	return TRUE;  // return TRUE  unless you set the focus to a control
}

// If you add a minimize button to your dialog, you will need the code below
//  to draw the icon.  For MFC applications using the document/view model,
//  this is automatically done for you by the framework.

void CEmailboxDlg::OnPaint() 
{
	if (IsIconic())
	{
		CPaintDC dc(this); // device context for painting

		SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);

		// Center icon in client rectangle
		int cxIcon = GetSystemMetrics(SM_CXICON);
		int cyIcon = GetSystemMetrics(SM_CYICON);
		CRect rect;
		GetClientRect(&amp;rect);
		int x = (rect.Width() - cxIcon + 1) / 2;
		int y = (rect.Height() - cyIcon + 1) / 2;

		// Draw the icon
		dc.DrawIcon(x, y, m_hIcon);
	}
	else
	{
		CDialog::OnPaint();
	}
}

// The system calls this to obtain the cursor to display while the user drags
//  the minimized window.
HCURSOR CEmailboxDlg::OnQueryDragIcon()
{
	return (HCURSOR) m_hIcon;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1680177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680177</guid><dc:creator><![CDATA[Killnum]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:51:01 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sat, 14 Mar 2009 23:55:24 GMT]]></title><description><![CDATA[<p><a href="http://lmgtfy.com/?q=C%2B%2B+SMTP" rel="nofollow">lmgtfy</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680180</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680180</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Sat, 14 Mar 2009 23:55:24 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sun, 15 Mar 2009 00:01:07 GMT]]></title><description><![CDATA[<p>Ein bisschen mehr mühe musst du dir schon geben. Das ganze von dem Wizard erstellen zu lassen war keine mühe.</p>
<ol>
<li>Du regelest es auf dem harten weg und erstellst eine verbindung zu dem SMTP Server. Falls verbunden, dann einfach in der reihenfolge versenden:</li>
</ol>
<p>HELO <a href="http://addr.com" rel="nofollow">addr.com</a></p>
<p>MAIL FROM <a href="mailto:mail@deinemail.com" rel="nofollow">mail@deinemail.com</a><br />
RCPT TO <a href="mailto:empfaenger@deinemail.com" rel="nofollow">empfaenger@deinemail.com</a><br />
DATA message<br />
QUIT</p>
<ol start="2">
<li>Du benutzt ein Framework das alles für dich regelt.</li>
</ol>
<p><a href="http://sourceforge.net/project/showfiles.php?group_id=50820" rel="nofollow">http://sourceforge.net/project/showfiles.php?group_id=50820</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680182</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680182</guid><dc:creator><![CDATA[move_to]]></dc:creator><pubDate>Sun, 15 Mar 2009 00:01:07 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sun, 15 Mar 2009 11:56:42 GMT]]></title><description><![CDATA[<p><a href="http://www.patshaping.de/hilfen_ta/pop3_smtp.htm" rel="nofollow">http://www.patshaping.de/hilfen_ta/pop3_smtp.htm</a></p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &quot;jwsmtp/jwsmtp.h&quot;

int main(int argc, char* argv[])
{
   jwsmtp::mailer m(&quot;empfängeremail&quot;, // z.B name@yahoo.com
	                &quot;deineemail&quot;, // z.B blabal@yahoo.com
					&quot;subject&quot;, // titel der mail
                    &quot;msg&quot;, // nachricht der mail 
					&quot;smtp.mail.yahoo.de&quot;, // smtp server 
                    jwsmtp::mailer::SMTP_PORT, false); // default port 25

   m.username(&quot;deineid&quot;);
   m.password(&quot;deinpw&quot;);
   m.send(); // shick mail
   std ::cout &lt;&lt; m.response() &lt;&lt; &quot;\n&quot;;
   return 0;
}
</code></pre>
<p>für smtp server nachgucken.</p>
<p><a href="http://www.patshaping.de/hilfen_ta/pop3_smtp.htm" rel="nofollow">http://www.patshaping.de/hilfen_ta/pop3_smtp.htm</a></p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680328</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680328</guid><dc:creator><![CDATA[move_to]]></dc:creator><pubDate>Sun, 15 Mar 2009 11:56:42 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sun, 15 Mar 2009 13:57:37 GMT]]></title><description><![CDATA[<p>danke für eure schnelle hilf <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 />
ich probiere es gleich aus mit dem server</p>
<p>mfg killnum</p>
<p>da steht ja msg also die nachricht der mail<br />
diese soll aber sein was der jenige ins eingabefeld eingibt^^<br />
syr das ich euch mit fragen durchlöchere <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680402</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680402</guid><dc:creator><![CDATA[Killnum]]></dc:creator><pubDate>Sun, 15 Mar 2009 13:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabefeld-Text zu E-mail senden on Sun, 15 Mar 2009 14:18:55 GMT]]></title><description><![CDATA[<p>Killnum schrieb:</p>
<blockquote>
<p>danke für eure schnelle hilf <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 />
ich probiere es gleich aus mit dem server</p>
<p>mfg killnum</p>
<p>da steht ja msg also die nachricht der mail<br />
diese soll aber sein was der jenige ins eingabefeld eingibt^^<br />
syr das ich euch mit fragen durchlöchere <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p>Dann kopiere den text aus der Editbox in einen buffer.</p>
<p>WinAPI: <a href="http://msdn.microsoft.com/en-us/library/ms633520(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms633520(VS.85).aspx</a><br />
MFC: <a href="http://msdn.microsoft.com/de-de/library/db50wx7h(VS.80).aspx" rel="nofollow">http://msdn.microsoft.com/de-de/library/db50wx7h(VS.80).aspx</a></p>
<p>Vielleicht solltest du ein Buch und paar Tutorials durchlesen die sich mit MFC/WinAPI beschäftigen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1680412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1680412</guid><dc:creator><![CDATA[move_to]]></dc:creator><pubDate>Sun, 15 Mar 2009 14:18:55 GMT</pubDate></item></channel></rss>