<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1020077" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1020077</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/choosing-recipients-mail-form#comment-1122600</link>
    <description> &lt;p&gt;Thanks!  That seems simple enough, even for me.  My home computer is in the shop right now but I&#039;ll give that a shot as soon as I get it back.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jan 2003 21:13:16 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1122600 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/choosing-recipients-mail-form#comment-1122597</link>
    <description> &lt;p&gt;one@email.com&lt;br /&gt;
two@email.com&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$email_form &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;a&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sent_to &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;one@email.com&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;br /&gt;} else if {&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$email_form &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;b&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sent_to &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;mailto:two@email.com&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;bb-email&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;two&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;email&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;com&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;;&lt;br /&gt;} else { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sent_to&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = &quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;default@&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;email&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;com&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;; }&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;this is just a really quick example, a switch option would probably be better. the form would have a value next to the email address, in this example I used &quot;a&quot; and &quot;b&quot; if none were chosen it would use &lt;a href=&quot;mailto:default@email.com&quot; class=&quot;bb-email&quot;&gt;default@email.com&lt;/a&gt; or you could set up an validation section to make sure it went somewhere.&lt;br /&gt;
the variable $sent_to is what you pass on.&lt;br /&gt;
why are you using a cgi scrip as well? PHP has the mail() function you can use&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jan 2003 20:54:35 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1122597 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/choosing-recipients-mail-form#comment-1122558</link>
    <description> &lt;p&gt;I now figured out how to go about this within my script but I&#039;ve got one simple problem.  I will need to set the variable in php by saying &quot;if &#039;A&#039; is chosen in the dropdown menu, then use appropriate email address&quot;  &lt;strong&gt;How do I set a php variable in a dropdown menu (before it posts to the cgi script)?&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Jan 2003 15:11:16 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1122558 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/choosing-recipients-mail-form#comment-1122379</link>
    <description> &lt;p&gt;SELECT boxes and you could ostensibly set them as a variable and have it read into the script. The only problem with that is it will allow for harvesting unless you turn it around and set the SELECT values to something arbitrary (a1, a2, a3) and have &lt;em&gt;those&lt;/em&gt; values set in the script.&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Dec 2002 05:06:47 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1122379 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/choosing-recipients-mail-form#comment-1122376</link>
    <description> &lt;p&gt;What about a drop-down combo list thingy? &amp;lt;-- lol sorry don&#039;t know what it&#039;s called,&lt;/p&gt;
&lt;p&gt;edit: by the way i&#039;m referring to those boxes at the bottom of the page that lets you choose which forum you wnat to go to &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Dec 2002 04:16:06 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1122376 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
