<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "E-Mail notification and the address it is sent from"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "E-Mail notification and the address it is sent from"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>E-Mail notification and the address it is sent from</title>
				<description><![CDATA[ Hi everybody,<br /> <br /> When I get email notification that somebody has left a message in the guestbook, it comes from "nobody@ppp03-90070708-072.pt.lu" or an address like that.  Is it possible to get the email from a set address?<br /> <br /> I'm now using a product called SpamBunker that allows email through only from addresses that I have approved.  Unfortunately though, with addresses like <a class="snap_shots" href="mailto:nobody@ppp03-90070708-072.pt.lu">nobody@ppp03-90070708-072.pt.lu</a>, which change all the time, I think I'll be having problems with getting the emails.  Is there any work-around for this, so that all my emails come from a given address, say guestbook[at]middleeastfacts[dot]com?<br /> <br /> Thanks!<br /> Steve]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4162/13504.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4162/13504.php</link>
				<pubDate><![CDATA[Wed, 26 Jan 2005 07:27:13]]> GMT</pubDate>
				<author><![CDATA[ middleeastfacts]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ In the file add.class.php <br /> <br /> you find this <br /> [code]@mail&#40;$this-&gt;db-&gt;VARS&#91;&quot;admin_mail&quot;&#93;,$this-&gt;db-&gt;LANG&#91;&quot;EmailAdminSubject&quot;&#93;,&quot;$this-&gt;name\n$this-&gt;host\n\n$this-&gt;comment&quot;, &quot;From&#58; &lt;&quot;.$this-&gt;name.&quot;&gt; nobody@$host\nX-Mailer&#58; Advanced Guestbook 2&quot;&#41;;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;notify_admin&quot;&#93;==1 &amp;&amp; $this-&gt;private==0&#41; &#123;<br />             @mail&#40;$this-&gt;db-&gt;VARS&#91;&quot;admin_mail&quot;&#93;,$this-&gt;db-&gt;LANG&#91;&quot;EmailAdminSubject&quot;&#93;,&quot;$this-&gt;name\n$this-&gt;host\n\n$this-&gt;comment&quot;, &quot;From&#58; &lt;&quot;.$this-&gt;name.&quot;&gt; nobody@$host\nX-Mailer&#58; Advanced Guestbook 2&quot;&#41;;[/code]<br /> <br /> Note the part that has [b]nobody@$host[/b]<br /> I would assume that you could rename this to a specific email address of your choosing. I haven't tested this out or anything - just seems like the most logical solution - you could modify and test to see.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4162/13509.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4162/13509.php</link>
				<pubDate><![CDATA[Wed, 26 Jan 2005 09:43:49]]> GMT</pubDate>
				<author><![CDATA[ ET]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ If you want the email to always come fom a specific address simply open up [b]lib/add.class.php[/b] and locate this line[code]if &#40;$this-&gt;db-&gt;VARS&#91;&quot;notify_admin&quot;&#93;==1 &amp;&amp; $this-&gt;private==0&#41; &#123;[/code]on the next line simply replace[code]$from_email[/code]with the email address you wish it to come from. You can either leave the name that is sent with the email address or change it to something by editting the [b]".$this-&gt;name."[/b] part to say [b]&lt;Guestbook&gt;[/b]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4162/13515.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4162/13515.php</link>
				<pubDate><![CDATA[Wed, 26 Jan 2005 09:56:04]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>Thanks</title>
				<description><![CDATA[ Hi guys,<br /> Thanks for your assistance.  What I did, that seemed to work, was change up, in the lib/add.class.php file:<br /> <br /> [code]$from_email = &#40;$this-&gt;email == &quot;&quot;&#41; ? &quot;nobody@$host&quot; &#58; $this-&gt;email;[/code]<br /> <br /> With:<br /> [code]$from_email = &#40;$this-&gt;email == &quot;&quot;&#41; ? &quot;blah@middleeastfacts.com&quot; &#58; $this-&gt;email;[/code]<br /> <br /> It worked like a charm!<br /> <br /> Thanks again - your assistance helped me locate approximately where I could make the change.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4162/13594.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4162/13594.php</link>
				<pubDate><![CDATA[Thu, 27 Jan 2005 20:18:22]]> GMT</pubDate>
				<author><![CDATA[ middleeastfacts]]></author>
			</item>
			<item>
				<title>Re: Thanks</title>
				<description><![CDATA[ [quote="middleeastfacts"]Hi guys,<br /> Thanks for your assistance.  What I did, that seemed to work, was change up, in the lib/add.class.php file:<br /> <br /> [code]$from_email = &#40;$this-&gt;email == &quot;&quot;&#41; ? &quot;nobody@$host&quot; &#58; $this-&gt;email;[/code]<br /> <br /> With:<br /> [code]$from_email = &#40;$this-&gt;email == &quot;&quot;&#41; ? &quot;blah@middleeastfacts.com&quot; &#58; $this-&gt;email;[/code]<br /> <br /> It worked like a charm!<br /> <br /> Thanks again - your assistance helped me locate approximately where I could make the change.[/quote]<br /> Sometimes you can't see the wood for the trees. Your fix is the correct way as it is simple.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4162/13606.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4162/13606.php</link>
				<pubDate><![CDATA[Thu, 27 Jan 2005 21:14:37]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>