<?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[MAIP und MAILS schreiben &#x2F;&#x2F; Vergabe der Empfänger Adr......]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>habe hier ein Script und komme an ein paar stellen nicht weiter:</p>
<p>#include &lt;mapi.h&gt;<br />
typedef ULONG (FAR PASCAL *MAPIFUNC) (LHANDLE lhSession, ULONG ulUIParam,<br />
lpMapiMessage lpMessage, FLAGS flFlags,<br />
ULONG ulReserved);<br />
void CEMailDlg::OnSend()<br />
{<br />
const HINSTANCE hMAPILib = ::LoadLibrary(&quot;MAPI32.DLL&quot;);<br />
if (hMAPILib)<br />
{<br />
MAPIFUNC lpMAPISendMail = (MAPIFUNC) GetProcAddress(hMAPILib, &quot;MAPISendMail&quot;);<br />
if (lpMAPISendMail != NULL)<br />
{<br />
static MapiMessage Msg;<br />
memset(&amp;Msg, 0, sizeof(Msg));<br />
Msg.lpszSubject = &quot;Betreff&quot;;<br />
Msg.lpszNoteText = &quot;Inhalt der Mail&quot;;<br />
lpMAPISendMail(NULL, NULL, &amp;Msg, (FLAGS) (MAPI_LOGON_UI | MAPI_DIALOG), 0);<br />
}<br />
}</p>
<p>Wie kann ich eine Empfängeradresse zuweisen?<br />
Wie kann ich einen Anhang hinzufügen?<br />
Wie geht dann die Mail auomatisch raus?</p>
<p>Schon einmal vielen THX an &quot;Jansen&quot; mit den TNMSMTP kam ich auch nicht weiter - super Tip mit MAPI.</p>
<p>MfG</p>
<p>Blue3</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/83483/maip-und-mails-schreiben-vergabe-der-empfänger-adr</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 21:06:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/83483.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Aug 2004 09:58:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MAIP und MAILS schreiben &#x2F;&#x2F; Vergabe der Empfänger Adr...... on Sat, 21 Aug 2004 09:58:28 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>habe hier ein Script und komme an ein paar stellen nicht weiter:</p>
<p>#include &lt;mapi.h&gt;<br />
typedef ULONG (FAR PASCAL *MAPIFUNC) (LHANDLE lhSession, ULONG ulUIParam,<br />
lpMapiMessage lpMessage, FLAGS flFlags,<br />
ULONG ulReserved);<br />
void CEMailDlg::OnSend()<br />
{<br />
const HINSTANCE hMAPILib = ::LoadLibrary(&quot;MAPI32.DLL&quot;);<br />
if (hMAPILib)<br />
{<br />
MAPIFUNC lpMAPISendMail = (MAPIFUNC) GetProcAddress(hMAPILib, &quot;MAPISendMail&quot;);<br />
if (lpMAPISendMail != NULL)<br />
{<br />
static MapiMessage Msg;<br />
memset(&amp;Msg, 0, sizeof(Msg));<br />
Msg.lpszSubject = &quot;Betreff&quot;;<br />
Msg.lpszNoteText = &quot;Inhalt der Mail&quot;;<br />
lpMAPISendMail(NULL, NULL, &amp;Msg, (FLAGS) (MAPI_LOGON_UI | MAPI_DIALOG), 0);<br />
}<br />
}</p>
<p>Wie kann ich eine Empfängeradresse zuweisen?<br />
Wie kann ich einen Anhang hinzufügen?<br />
Wie geht dann die Mail auomatisch raus?</p>
<p>Schon einmal vielen THX an &quot;Jansen&quot; mit den TNMSMTP kam ich auch nicht weiter - super Tip mit MAPI.</p>
<p>MfG</p>
<p>Blue3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587615</guid><dc:creator><![CDATA[blue3]]></dc:creator><pubDate>Sat, 21 Aug 2004 09:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to MAIP und MAILS schreiben &#x2F;&#x2F; Vergabe der Empfänger Adr...... on Sat, 21 Aug 2004 10:13:07 GMT]]></title><description><![CDATA[<p>Ich kann nicht glauben, dass du bei Benutzung der Suchfunktion nicht auf diesen Link gestossen bist.<br />
<a href="http://www.bytesandmore.de/rad/cpp/snipp/sc08004.php" rel="nofollow">http://www.bytesandmore.de/rad/cpp/snipp/sc08004.php</a></p>
<p>Automatisch wird hier übrigens nichts verschickt, m.E. wird lediglich das Standard-Mailprogramm mit den spezifizierten Angaben geöffnet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587621</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sat, 21 Aug 2004 10:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to MAIP und MAILS schreiben &#x2F;&#x2F; Vergabe der Empfänger Adr...... on Sat, 21 Aug 2004 10:20:50 GMT]]></title><description><![CDATA[<p>Hallo Jansen,</p>
<p>klar von diesem Link habe ich ja das Script.<br />
Aber ich bin recht Neu bei der Progarmmierung und habe auf diesem Link nur das einfache Beispiel geblickt.<br />
Ja so isses halt mit den Anfängern.<br />
Aus dem grossen Beispiel habe ich gedacht, dass mit Msg.lpszName kann ich den Empfänger belegen - aber das war nicht so.</p>
<p>Hast du da noch einen Tip für mich?</p>
<p>MfG</p>
<p>Blue3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587625</guid><dc:creator><![CDATA[blue3]]></dc:creator><pubDate>Sat, 21 Aug 2004 10:20:50 GMT</pubDate></item><item><title><![CDATA[Reply to MAIP und MAILS schreiben &#x2F;&#x2F; Vergabe der Empfänger Adr...... on Sat, 21 Aug 2004 11:38:58 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/52">@Jansen</a></p>
<p>Habe geade die Lösung gefunden.<br />
Ich habe das umfangreiche Script so abänden können, dass es meinen Wünschen entspricht.</p>
<p>Vielen Dank noch einmal.</p>
<p>MfG</p>
<p>Blue3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587674</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587674</guid><dc:creator><![CDATA[blue3]]></dc:creator><pubDate>Sat, 21 Aug 2004 11:38:58 GMT</pubDate></item></channel></rss>