<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentarer til: Webapp mailer</title>
	<atom:link href="http://www.kruse-net.dk/2007/01/25/webapp-mailer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/</link>
	<description>Det man blogger er man selv...</description>
	<lastBuildDate>Mon, 06 Feb 2012 17:53:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Af: harold george</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-42582</link>
		<dc:creator>harold george</dc:creator>
		<pubDate>Wed, 25 Jan 2012 19:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-42582</guid>
		<description>&lt;p&gt;Thank you!  That was what was needed! I wish someone would figure out how to use this sweet package to get emails and attachments.  I would contribute a few $$.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you!  That was what was needed! I wish someone would figure out how to use this sweet package to get emails and attachments.  I would contribute a few $$.</p>]]></content:encoded>
	</item>
	<item>
		<title>Af: Jakob Kruse</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-42579</link>
		<dc:creator>Jakob Kruse</dc:creator>
		<pubDate>Mon, 23 Jan 2012 07:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-42579</guid>
		<description>&lt;p&gt;Harold,&lt;/p&gt;

&lt;p&gt;The &quot;sendusing&quot; option should not be changed. Add these lines instead:&lt;/p&gt;

&lt;p&gt;[code]
Get ComItem of (oADOFields(Self)) &quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&quot; to vItem
Set pvComObject of (oADOField(Self)) to vItem
Set ComValue of (oADOField(Self)) to 465
[/code]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Harold,</p>

<p>The &#8220;sendusing&#8221; option should not be changed. Add these lines instead:</p>

<p><div class="hl-surround" ><div class="hl-main"><pre>Get ComItem of (oADOFields(Self)) &quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&quot; to vItem
Set pvComObject of (oADOField(Self)) to vItem
Set ComValue of (oADOField(Self)) to 465</pre></div></div></p>]]></content:encoded>
	</item>
	<item>
		<title>Af: harold george</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-42574</link>
		<dc:creator>harold george</dc:creator>
		<pubDate>Sat, 21 Jan 2012 15:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-42574</guid>
		<description>&lt;p&gt;I have been using this wonderful package with exchange for a while.  I am now trying it with gmail.  I changed the &quot;sendusing&quot; to &quot;smtpserverport&quot;, but it fails on &quot;Send ComSend to (oCDOMessage (Self))&quot;.  The error message is &quot;Com object method invocation error.  The &quot;sendusing&quot; configuration value is invalid&quot;.&lt;/p&gt;

&lt;p&gt;This is the actual line in the ComSend Procedure.
 Send InvokeComMethod to hDispatchDriver 158 OLE&lt;em&gt;VT&lt;/em&gt;VOID.&lt;/p&gt;

&lt;p&gt;Any ideas?  Thanks so much!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have been using this wonderful package with exchange for a while.  I am now trying it with gmail.  I changed the &#8220;sendusing&#8221; to &#8220;smtpserverport&#8221;, but it fails on &#8220;Send ComSend to (oCDOMessage (Self))&#8221;.  The error message is &#8220;Com object method invocation error.  The &#8220;sendusing&#8221; configuration value is invalid&#8221;.</p>

<p>This is the actual line in the ComSend Procedure.
 Send InvokeComMethod to hDispatchDriver 158 OLE<em>VT</em>VOID.</p>

<p>Any ideas?  Thanks so much!</p>]]></content:encoded>
	</item>
	<item>
		<title>Af: Adam D'Auria</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-36615</link>
		<dc:creator>Adam D'Auria</dc:creator>
		<pubDate>Sun, 11 Jul 2010 22:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-36615</guid>
		<description>&lt;p&gt;Oh thank you for this.  Ran into a problem where I had MAPI working and then the customer bought a new computer with Win7 and, well, that was no longer an option.  &lt;/p&gt;

&lt;p&gt;Just a note with regards to attachments, the ComAddAttachment call need to be a Get.&lt;/p&gt;

&lt;p&gt;Example: Get ComAddAttachment of (oCDOMessage(Self)) &quot;c:&#092;email.pdf&quot; &quot;&quot; &quot;&quot; to vRtn&lt;/p&gt;

&lt;p&gt;Where vRtn is a variant datatype.  &lt;/p&gt;

&lt;p&gt;Hope that saves someone some time.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oh thank you for this.  Ran into a problem where I had MAPI working and then the customer bought a new computer with Win7 and, well, that was no longer an option.  </p>

<p>Just a note with regards to attachments, the ComAddAttachment call need to be a Get.</p>

<p>Example: Get ComAddAttachment of (oCDOMessage(Self)) &#8220;c:&#92;email.pdf&#8221; &#8220;&#8221; &#8220;&#8221; to vRtn</p>

<p>Where vRtn is a variant datatype.  </p>

<p>Hope that saves someone some time.</p>]]></content:encoded>
	</item>
	<item>
		<title>Af: Nils G. Svedmyr</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30655</link>
		<dc:creator>Nils G. Svedmyr</dc:creator>
		<pubDate>Tue, 08 Sep 2009 12:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30655</guid>
		<description>&lt;p&gt;Success!&lt;/p&gt;

&lt;p&gt;The port setting solved all problems - and I can now successfully send e-mails to gmail accounts. As said above the port number was changed to 465.&lt;/p&gt;

&lt;p&gt;Thank you very much for your help Jakob :-) and of course for this wonderful solution as well!&lt;/p&gt;

&lt;p&gt;Bye, from one happy puppy ;-)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nils G.&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Success!</p>

<p>The port setting solved all problems &#8211; and I can now successfully send e-mails to gmail accounts. As said above the port number was changed to 465.</p>

<p>Thank you very much for your help Jakob <img src='http://www.kruse-net.dk/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  and of course for this wonderful solution as well!</p>

<p>Bye, from one happy puppy <img src='http://www.kruse-net.dk/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<ul>
<li>Nils G.</li>
</ul>]]></content:encoded>
	</item>
	<item>
		<title>Af: Jakob Kruse</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30652</link>
		<dc:creator>Jakob Kruse</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30652</guid>
		<description>&lt;p&gt;There is another setting named &quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&quot; that you could try setting to 465 (same way that the other options are set in mailer.pkg). You could also try increasing the connection timeout from 10 to 60. Some servers deliberately delay the connection handshake because that makes some spam clients give up.&lt;/p&gt;

&lt;p&gt;Maybe Google has changed the port since 2007 when John got it working.&lt;/p&gt;

&lt;p&gt;Let me know if you have any success.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There is another setting named &#8220;http://schemas.microsoft.com/cdo/configuration/smtpserverport&#8221; that you could try setting to 465 (same way that the other options are set in mailer.pkg). You could also try increasing the connection timeout from 10 to 60. Some servers deliberately delay the connection handshake because that makes some spam clients give up.</p>

<p>Maybe Google has changed the port since 2007 when John got it working.</p>

<p>Let me know if you have any success.</p>]]></content:encoded>
	</item>
	<item>
		<title>Af: Nils G. Svedmyr</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30650</link>
		<dc:creator>Nils G. Svedmyr</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30650</guid>
		<description>&lt;p&gt;Jakob,&lt;/p&gt;

&lt;p&gt;You are right that the dll&#039;s exist on Vista x86 - I just found them on my laptop (silly Microsoft Search facility that didn&#039;t list them because they are in a protected area). And it is indeed as you say the CDOSYS settings object that throws the exception error.&lt;/p&gt;

&lt;p&gt;Just as John reports above, I&#039;m trying to send to an gmail address - and I have set the &quot;STARTTLS&quot; to true in the config object. All other info for the CDOSYS object has been copied from Windows Live Mail Account Settings for the gmail account in question. That account and all other e-mail accounts works just fine with the Windows Live Mail client.&lt;/p&gt;

&lt;p&gt;There&#039;s no other firewalls than Windows Defender - and I cannot see any blocking there for using SMTP on port 25.&lt;/p&gt;

&lt;p&gt;Is there somewhere else I should be looking?&lt;/p&gt;

&lt;p&gt;More info: Checking my gmail account settings I see that the SMTP port is set to 465 and &quot;This server requires a secure connection (SSL)&quot; is checked.&lt;/p&gt;

&lt;p&gt;These settings were automatically set by the Live Mail client when the account was created. So if these settings are necessary how come that John who is also using gmail got it working??&lt;/p&gt;

&lt;p&gt;I&#039;m all confused...&lt;/p&gt;

&lt;p&gt;Any ideas are most welcome.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nils G.&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Jakob,</p>

<p>You are right that the dll&#8217;s exist on Vista x86 &#8211; I just found them on my laptop (silly Microsoft Search facility that didn&#8217;t list them because they are in a protected area). And it is indeed as you say the CDOSYS settings object that throws the exception error.</p>

<p>Just as John reports above, I&#8217;m trying to send to an gmail address &#8211; and I have set the &#8220;STARTTLS&#8221; to true in the config object. All other info for the CDOSYS object has been copied from Windows Live Mail Account Settings for the gmail account in question. That account and all other e-mail accounts works just fine with the Windows Live Mail client.</p>

<p>There&#8217;s no other firewalls than Windows Defender &#8211; and I cannot see any blocking there for using SMTP on port 25.</p>

<p>Is there somewhere else I should be looking?</p>

<p>More info: Checking my gmail account settings I see that the SMTP port is set to 465 and &#8220;This server requires a secure connection (SSL)&#8221; is checked.</p>

<p>These settings were automatically set by the Live Mail client when the account was created. So if these settings are necessary how come that John who is also using gmail got it working??</p>

<p>I&#8217;m all confused&#8230;</p>

<p>Any ideas are most welcome.</p>

<ul>
<li>Nils G.</li>
</ul>]]></content:encoded>
	</item>
	<item>
		<title>Af: Jakob Kruse</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30648</link>
		<dc:creator>Jakob Kruse</dc:creator>
		<pubDate>Tue, 08 Sep 2009 09:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30648</guid>
		<description>&lt;p&gt;Nils,&lt;/p&gt;

&lt;p&gt;The packages were built from the dll&#039;s listed at the top of the files. I have verified that both dll&#039;s exist on my Vista x86 Ultimate.&lt;/p&gt;

&lt;p&gt;The Swedish part of your error message suggest a different problem though, because that part comes from the CDOSYS COM object (so it must be working). The problem seems to be that the server address is incorrect, or maybe a firewall is blocking your attempt. CDOSYS connects using SMTP (port 25) so that must be open.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nils,</p>

<p>The packages were built from the dll&#8217;s listed at the top of the files. I have verified that both dll&#8217;s exist on my Vista x86 Ultimate.</p>

<p>The Swedish part of your error message suggest a different problem though, because that part comes from the CDOSYS COM object (so it must be working). The problem seems to be that the server address is incorrect, or maybe a firewall is blocking your attempt. CDOSYS connects using SMTP (port 25) so that must be open.</p>]]></content:encoded>
	</item>
	<item>
		<title>Af: Nils G. Svedmyr</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30640</link>
		<dc:creator>Nils G. Svedmyr</dc:creator>
		<pubDate>Tue, 08 Sep 2009 02:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30640</guid>
		<description>&lt;p&gt;Hi again.&lt;/p&gt;

&lt;p&gt;Which COM object did you select in the Studio to build the cdosys.pkg and msado26.pkg?&lt;/p&gt;

&lt;p&gt;Maybe there is something wrong with my machine - and it would fix it if I try to re-generate those packages?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nils G.&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Hi again.</p>

<p>Which COM object did you select in the Studio to build the cdosys.pkg and msado26.pkg?</p>

<p>Maybe there is something wrong with my machine &#8211; and it would fix it if I try to re-generate those packages?</p>

<ul>
<li>Nils G.</li>
</ul>]]></content:encoded>
	</item>
	<item>
		<title>Af: Nils G. Svedmyr</title>
		<link>http://www.kruse-net.dk/2007/01/25/webapp-mailer/comment-page-1/#comment-30632</link>
		<dc:creator>Nils G. Svedmyr</dc:creator>
		<pubDate>Mon, 07 Sep 2009 16:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kruse-net.dk/2007/01/25/webapp-mailer/#comment-30632</guid>
		<description>&lt;p&gt;Hi Jakob,&lt;/p&gt;

&lt;p&gt;I&#039;m keep getting the following error when sending from a Vista x86 Ultimate machine with VDF 15:
&quot;COM object method invocation error. Transporten lyckades inte ansluta till servern.
 Error: 4399&quot;&lt;/p&gt;

&lt;p&gt;Any idea what causes it? Is there some component perhaps missing on Vista machines?&lt;/p&gt;

&lt;p&gt;(I&#039;ve been searching on MSDN and have Googled, but haven&#039;t found anything that explains it)&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nils G. Svedmyr&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jakob,</p>

<p>I&#8217;m keep getting the following error when sending from a Vista x86 Ultimate machine with VDF 15:
&#8220;COM object method invocation error. Transporten lyckades inte ansluta till servern.
 Error: 4399&#8243;</p>

<p>Any idea what causes it? Is there some component perhaps missing on Vista machines?</p>

<p>(I&#8217;ve been searching on MSDN and have Googled, but haven&#8217;t found anything that explains it)</p>

<p>Thanks.</p>

<ul>
<li>Nils G. Svedmyr</li>
</ul>]]></content:encoded>
	</item>
</channel>
</rss>

