<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to configure E-mail configuration with SMTP"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "How to configure E-mail configuration with SMTP"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to configure E-mail configuration with SMTP</title>
				<description><![CDATA[ I'm very pleased with the possibilities of Advanced Buestbook 2.4.3. The only problem I've is the e-mail function.<br /> My website is hosted on a Windowsserver with SMTP mailfunction. I've already removed .htaccess but the mailfunction is not operating at all. Other functions (upload, message display etc) is working fine. <br />  <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24408.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24408.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 18:21:43]]> GMT</pubDate>
				<author><![CDATA[ Frits]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You need to speak to your hosts.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24409.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24409.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 19:23:58]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thank you for your reaction but what do I have to ask my host? Other programs from my website are running fine with SMTP mailfucntion, why not Advanced Guestbook? <img src="https://proxy2.de/forum//images/smilies/0a4d7238daa496a758252d0a2b1a1384.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24410.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24410.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 20:29:05]]> GMT</pubDate>
				<author><![CDATA[ Frits]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Advanced Guestbook does not support SMTP sending. Some hosts recommend alternate scripts for using instead of the PHP mail() function so ask them if they have a opreference.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24411.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24411.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 20:31:31]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I've a working mailform.php on my website:<br /> &lt;?php<br /> /* * * * * * * * * * * * * * SEND EMAIL FUNCTIONS * * * * * * * * * * * * * */ <br />  <br /> <br /> function authmailform($action, $email, $fname, $lname, $cname, $telno, $comments)<br /> {<br />     //SMTP + SERVER DETAILS<br />     /* * * * CONFIGURATION START * * * */<br />     $smtpServer = "mail.mywebsite.nl";<br />     $port = "25";<br />     $timeout = "30";<br />     $username = "mail@mywebsite.nl";<br />     $password = "xxxxxxxxx";<br />     $localhost = "localhost";<br />     $newLine = "\r\n";<br />     /* * * * CONFIGURATION END * * * * */<br />     <br />     //Connect to the host on the specified port<br />     $smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     if(empty($smtpConnect)) <br />     {<br />         $output = "Failed to connect: $smtpResponse";<br />         return $output;<br />     }<br />     else<br />     {<br />         $logArray['connection'] = "Connected: $smtpResponse";<br />     }<br /> <br />     //Request Auth Login<br />     fputs($smtpConnect,"AUTH LOGIN" . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['authrequest'] = "$smtpResponse";<br />     <br />     //Send username<br />     fputs($smtpConnect, base64_encode($username) . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['authusername'] = "$smtpResponse";<br />     <br />     //Send password<br />     fputs($smtpConnect, base64_encode($password) . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['authpassword'] = "$smtpResponse";<br /> <br />     //Say Hello to SMTP<br />     fputs($smtpConnect, "HELO $localhost" . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['heloresponse'] = "$smtpResponse";<br />     <br />     //Email From<br />     fputs($smtpConnect, "MAIL FROM: $email" . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['mailfromresponse'] = "$smtpResponse";<br />         <br />     //Email To<br />     fputs($smtpConnect, "RCPT TO: $email" . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['mailtoresponse'] = "$smtpResponse";<br />     <br />     //The Email<br />     fputs($smtpConnect, "DATA" . $newLine);<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['data1response'] = "$smtpResponse";<br />     <br />     //Construct Headers<br />     $headers = "Content-type: text/plain".$newLine;<br />     //$headers  = "MIME-Version: 1.0" . $newLine;<br />     //$headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;<br />     $headers .= "To: $lname &lt;$email&gt;" . $newLine;<br />     $headers .= "From: $lname &lt;$email&gt;" . $newLine;<br />     <br />     //fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");    unix<br />     fputs($smtpConnect, "To: $email".$newLine."From: $email".$newLine."Subject: $telno".$newLine."$headers".$newLine.$newLine."$comment".$newLine.".".$newLine);        // windows<br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['data2response'] = "$smtpResponse";<br />     <br />     // Say Bye to SMTP<br />     fputs($smtpConnect,"QUIT" . $newLine); <br />     $smtpResponse = fgets($smtpConnect, 515);<br />     $logArray['quitresponse'] = "$smtpResponse";<br />     <br />     return TRUE;<br />     //print_r($logArray);<br /> }<br /> <br /> //pas de onderstaande variabelen aan naar jouw wensen<br /> $adminaddress = "mail@mywebsite.nl"; <br /> $siteaddress ="http://www.mywebsite.nl"; <br /> $sitename = "mywebsite.nl"; <br /> <br /> //hieronder hoeft in principe niets ge-edit te worden...<br /> <br /> <br /> // Haalt de tijd en de datum van de server<br /> $date = date("m/d/Y H:i:s");<br /> <br /> <br /> // Haalt de informatie dat gepost is door Flash<br /> $action = $HTTP_POST_VARS['action'] ;<br /> $email = $HTTP_POST_VARS['email'] ;<br /> $fname = $HTTP_POST_VARS['fname'] ;<br /> $lname = $HTTP_POST_VARS['lname'] ;<br /> $cname = $HTTP_POST_VARS['cname'] ;<br /> $telno = $HTTP_POST_VARS['telno'] ;<br /> $comments = $HTTP_POST_VARS['comments'] ;<br /> <br /> //De informatie uit de tekstbalken (de variabelen) wordt gestructureerd naar jouw email adres gestuurd.<br /> <br /> if ($action == "send") {<br /> 	//hieronder kan de tekst worden aangepast<br /> 	//een harde enter wordt weergegeven als /n<br /> 	//alles na een $-teken is een variabele<br /> 	mail ("$adminaddress","Info Request",<br /> 	"Een bezoeker van $sitename heeft het volgende bericht achtergelaten\n<br /> 	Voornaam: $fname <br /> 	Achternaam: $lname<br /> 	Email: $email<br /> 	Bedrijf: $cname<br /> 	Telefoon: $telno\n<br /> 	Bericht van $fname $lname:<br /> 	______________________________<br /> 	<br /> 	$comments<br /> 	<br /> 	<br /> <br /> 	______________________________<br /> <br /> 	Date/Time:  $date","FROM:$adminaddress" ) ; <br /> 	<br /> 	<br /> 	//De verzender van de email krijgt automatisch een bedankje<br /> 	//deze tekst is ook aan te passen.<br /> 	mail ("$email","Dank u voor het bezoeken van $sitename", <br /> 	"Geachte heer/mevrouw $lname,\n<br /> 	Dank u voor uw interesse in $sitename.\n<br /> 	Uw mail wordt zo snel mogelijk in behandeling genomen.\n<br /> 	 \n<br /> 	Met vriendelijke groet,\n<br /> 	mywebsite<br /> 	","FROM:$adminaddress"<br /> 	) ; <br /> 	<br /> 	//Deze bevestiging wordt naar Flash gestuurd als alles is afgerond.<br /> 	$sendresult = "Dank u wel. U ontvangt binnen enkele seconden een bevestigingsmail.";<br /> 	$send_answer = "answer=";<br /> 	$send_answer = rawurlencode($sendresult);<br /> 	echo $send_answer;<br /> 	<br /> <br /> }<br /> ?&gt;<br /> <br /> Can I use this? Where do I place this file/code? <img src="https://proxy2.de/forum//images/smilies/2786c5c8e1a8be796fb2f726cca5a0fe.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24412.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24412.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 20:50:08]]> GMT</pubDate>
				<author><![CDATA[ Frits]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ <a class="snap_shots" href="http://www.carbonize.co.uk/smtp.zip" target="_blank" rel="nofollow">www.carbonize.co.uk/smtp.zip</a> <br /> <br /> Edit the agsmtp.php file and upload it the guestbook folder then replace the add.class.php file in your lib folder with the new one.<br /> <br /> Not tested it and have no intentions of testing it.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7220/24413.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7220/24413.php</link>
				<pubDate><![CDATA[Sun, 30 Nov 2008 21:50:53]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>