 




<?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>Comments on: Send mail as admin@domain.xxx and not from server when webform submit</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/send-mail-as-admindomainxxx-and-not-from-server-when-webform-submit/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/send-mail-as-admindomainxxx-and-not-from-server-when-webform-submit/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: slimdude</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/send-mail-as-admindomainxxx-and-not-from-server-when-webform-submit/#comment-37970</link>
		<dc:creator>slimdude</dc:creator>
		<pubDate>Fri, 28 Jul 2006 11:39:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-37970</guid>
		<description><![CDATA[Try declaring your variables and setting the db object before use.

Sub Initialize
Dim session As New NotesSession 
Dim db as NotesDatabase
Dim newnote as NotesDocument
Set db = session.CurrentDatabase
Set newnote = New NotesDocument(db)
newnote.Subject = &quot;Subject: &quot; &amp; doc.YourSubjectField(0)
&#039;.... and so on ...
]]></description>
		<content:encoded><![CDATA[<p>Try declaring your variables and setting the db object before use.</p>
<p>Sub Initialize<br />
Dim session As New NotesSession<br />
Dim db as NotesDatabase<br />
Dim newnote as NotesDocument<br />
Set db = session.CurrentDatabase<br />
Set newnote = New NotesDocument(db)<br />
newnote.Subject = &#8220;Subject: &#8221; &amp; doc.YourSubjectField(0)<br />
&#8216;&#8230;. and so on &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markuskoller</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/send-mail-as-admindomainxxx-and-not-from-server-when-webform-submit/#comment-37971</link>
		<dc:creator>markuskoller</dc:creator>
		<pubDate>Fri, 28 Jul 2006 10:31:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-37971</guid>
		<description><![CDATA[when you fix the errors as suggested in reply 1 and 2, you will end up with the problem, that you can&#039;t change the sender of the mail. domino will set it to the agent&#039;s signer.

See http://www-10.lotus.com/ldd/46dom.nsf/7e6c7e584a76331b85256a46006f083e/574c99ccb345839185256976004e811e?OpenDocument
and
http://www-128.ibm.com/developerworks/lotus/library/ls-Troubleshooting_agents_ND5_6/
(How can I change the apparent sender of agent generated mail?)]]></description>
		<content:encoded><![CDATA[<p>when you fix the errors as suggested in reply 1 and 2, you will end up with the problem, that you can&#8217;t change the sender of the mail. domino will set it to the agent&#8217;s signer.</p>
<p>See <a href="http://www-10.lotus.com/ldd/46dom.nsf/7e6c7e584a76331b85256a46006f083e/574c99ccb345839185256976004e811e?OpenDocument" rel="nofollow">http://www-10.lotus.com/ldd/46dom.nsf/7e6c7e584a76331b85256a46006f083e/574c99ccb345839185256976004e811e?OpenDocument</a><br />
and<br />
<a href="http://www-128.ibm.com/developerworks/lotus/library/ls-Troubleshooting_agents_ND5_6/" rel="nofollow">http://www-128.ibm.com/developerworks/lotus/library/ls-Troubleshooting_agents_ND5_6/</a><br />
(How can I change the apparent sender of agent generated mail?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dpeabo</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/send-mail-as-admindomainxxx-and-not-from-server-when-webform-submit/#comment-37972</link>
		<dc:creator>dpeabo</dc:creator>
		<pubDate>Fri, 28 Jul 2006 07:19:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-37972</guid>
		<description><![CDATA[Change your code as below:
Sub Initialize
 Dim session As New NotesSession 
 Dim db as NotesDatabase &#039;new line
 set db = session.CurrentDatabase &#039;new line, if you needed
 &#039;a db other than current use methods GetDatabase(&quot;dbname&quot;)
 Set newnote = New NotesDocument(db)]]></description>
		<content:encoded><![CDATA[<p>Change your code as below:<br />
Sub Initialize<br />
 Dim session As New NotesSession<br />
 Dim db as NotesDatabase &#8216;new line<br />
 set db = session.CurrentDatabase &#8216;new line, if you needed<br />
 &#8216;a db other than current use methods GetDatabase(&#8220;dbname&#8221;)<br />
 Set newnote = New NotesDocument(db)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.013 seconds using memcached
Object Caching 296/299 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 07:27:30 -->