<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE>Zpráva</TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.23532"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial>Podle
vseho, pro odeslani pres OE jsou dve moznosti:</FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial>1.
MAPI (asi lepsi volba, nez uzka navaznost na OE).</FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial>2.
Ulozit E-mail do slozky "posta k odeslani"</FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial>rozhrani je zde:</FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial><A
href="http://msdn.microsoft.com/en-us/library/ms710250%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/ms710250%28v=vs.85%29.aspx</A></FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial><A
href="http://msdn.microsoft.com/en-us/library/ms710214%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/ms710214%28v=vs.85%29.aspx</A></FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2 face=Arial><A
href="http://www.codeproject.com/Articles/9166/Reading-and-Writing-Messages-in-Outlook-Express">http://www.codeproject.com/Articles/9166/Reading-and-Writing-Messages-in-Outlook-Express</A></FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=546220313-19012014><FONT color=#0000ff size=2
face=Arial>Slavek</FONT></SPAN></DIV>
<DIV><SPAN class=546220313-19012014><!-- Converted from text/plain format -->
<P><FONT size=2>Ing. Slavomir Skopalik<BR>Jednatel spolecnosti<BR>Elekt Labs
s.r.o.<BR>Sber a vyhodnoceni dat ze stroju a laboratori<BR>systemem MASA (<A
href="http://www.elektlabs.cz/m2demo">http://www.elektlabs.cz/m2demo</A>)<BR>----------------------------------------------<BR>Adresa:<BR>Elekt
Labs s.r.o.<BR>Chaloupky 158<BR>783 72 Velky Tynec<BR>Czech
Republic<BR>----------------------------------------------<BR>Mobil: +420 724
207 851<BR>icq:199 118
333<BR>skype:skopaliks<BR>e-mail:skopalik@elektlabs.cz<BR><A
href="http://www.elektlabs.cz/">http://www.elektlabs.cz</A><BR> </FONT>
</P></SPAN></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV dir=ltr lang=cs class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B> Hw-list
[mailto:hw-list-bounces@list.hw.cz] <B>On Behalf Of </B>Robo<BR><B>Sent:</B>
Sunday, January 19, 2014 10:06 AM<BR><B>To:</B> HW-news<BR><B>Subject:</B> Re:
OT: Je tu nejaky programator v DELPHI ?<BR><BR></FONT></DIV>
<DIV class=moz-cite-prefix>ještě vyzkoušej<BR><BR><A
class=moz-txt-link-freetext
href="http://delphi.cz/post/Zasilani-mailu-1-MAPI.aspx">http://delphi.cz/post/Zasilani-mailu-1-MAPI.aspx</A><BR><BR>v
příspěvku dole. Vyzkoušel jsem a funguje bez problému<BR><BR>Dne 18.1.2014
19:45, Ondra hwnews napsal(a):<BR></DIV>
<BLOCKQUOTE cite=mid:91A5B199C42F49A98BAF82CA7DAD1657@PCo type="cite">
<META name=GENERATOR content="MSHTML 6.00.2900.6470">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial>1.Mam uses ComObj, ale pri zavolani se dozvim:
raised exception class EOleSysError with message 'Nesprávný řetězec třídy'.
Process stopped.</FONT></DIV>
<DIV><FONT size=2 face=Arial>2.Verze s ShellAPI chodi, ale neumi to prilohu,
tedy s retezcem &att:filename="c:\autoexec.bat" sice mam pripraven email
s prilohou, ale ta priloha neodpovida...</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=robomail@atlas.cz href="mailto:robomail@atlas.cz"
moz-do-not-send="true">Robo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hw-list@list.hw.cz
href="mailto:hw-list@list.hw.cz" moz-do-not-send="true">HW-news</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 18, 2014 7:18
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: OT: Je tu nejaky
programator v DELPHI ?</DIV>
<DIV><BR></DIV>
<DIV class=moz-cite-prefix>a mas v uses ComObj<BR><BR><BR>jeste
zkus<BR><BR><PRE>uses
ShellAPI;
begin
ShellExecute(0,<SPAN class=ST>'open'</SPAN>,<SPAN class=ST>'mailto: <A class=moz-txt-link-abbreviated href="mailto:email@email.cz?subject=Predmet&body=text" moz-do-not-send="true">email@email.cz?subject=Predmet&body=text</A> emailu'</SPAN>,
NIL, NIL, SW_SHOWNORMAL);
end</PRE><BR><BR><BR>Dne 18.1.2014 17:31, Ondra hwnews
napsal(a):<BR></DIV>
<BLOCKQUOTE cite=mid:D474BA461D5C430BA0E84F6588697B40@PCo type="cite">
<META name=GENERATOR content="MSHTML 6.00.2900.6470">
<DIV><FONT size=2 face=Arial>Ja tajne doufal, ze tolik na verzi OE
nebude zalezet.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Robo poslal odkaz, ze ktereho
kopiruji:</FONT></DIV>
<DIV> </DIV>
<DIV>
<P><EM>2. create a message in Outlook using OLE:</EM><BR></P><PRE><B>const
</B>olMailItem = 0;
<B>var
</B>Outlook, MailItem: OLEVariant;
<B>begin
try
</B>Outlook := GetActiveOleObject(<FONT color=blue>'Outlook.Application'</FONT>);
<B>except
</B>Outlook := CreateOleObject(<FONT color=blue>'Outlook.Application'</FONT>);
<B>end</B>;
MailItem := Outlook.CreateItem(olMailItem);
MailItem.Recipients.Add(<FONT color=blue>'<A class=moz-txt-link-abbreviated href="mailto:mshkolnik@scalabium.com" moz-do-not-send="true">mshkolnik@scalabium.com</A>'</FONT>);
MailItem.Subject := <FONT color=blue>'your subject'</FONT>;
MailItem.Body := <FONT color=blue>'Welcome to my homepage: <A class=moz-txt-link-freetext href="http://www.scalabium.com" moz-do-not-send="true">http://www.scalabium.com</A>'</FONT>;
MailItem.Attachments.Add(<FONT color=blue>'C:\Windows\Win.ini'</FONT>);
MailItem.Send;
Outlook := Unassigned;
<B>end</B>;
</PRE><PRE>Ovsem tam neprojdu pres OleObject.</PRE><PRE>Ted poradte... :) O.</PRE><PRE> </PRE><PRE> </PRE><PRE>
</PRE></DIV></BLOCKQUOTE><BR>
<P></P>
<HR>
_______________________________________________<BR>HW-list mailing
list - sponsored by <A class=moz-txt-link-abbreviated
href="http://www.HW.cz">www.HW.cz</A><BR><A class=moz-txt-link-abbreviated
href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</A><BR><A
class=moz-txt-link-freetext
href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</A><BR></BLOCKQUOTE><BR><BR>__________
Informace od ESET Smart Security, verze databaze 9307 (20140118)
__________<BR><BR>Tuto zpravu proveril ESET Smart Security.<BR><BR><A
href="http://www.eset.cz"
moz-do-not-send="true">http://www.eset.cz</A><BR><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
HW-list mailing list - sponsored by <A class=moz-txt-link-abbreviated href="http://www.HW.cz">www.HW.cz</A>
<A class=moz-txt-link-abbreviated href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</A>
<A class=moz-txt-link-freetext href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</A>
__________ Informace od ESET Smart Security, verze databaze 9307 (20140118) __________
Tuto zpravu proveril ESET Smart Security.
<A class=moz-txt-link-freetext href="http://www.eset.cz">http://www.eset.cz</A>
</PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>