# How to edit contact us ....

**URL:** <https://forum.phpvms.net/t/how-to-edit-contact-us/3119>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [July 27, 2010, 1:06am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119 "2010-07-27T01:06:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 1:06am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/1 "2010-07-27T01:06:45Z")

</div>

Hi, How do you edit the contact us page so the user can decide who to send it to e.g CEO or VCEO and so on.

Regards

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 27, 2010, 2:43am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/2 "2010-07-27T02:43:06Z")

</div>

You can use a custom made one like I did. Have a look [http://www.oneworldvs.net/index.php/pages/contactus](http://www.oneworldvs.net/index.php/pages/contactus)

---

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 2:44am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/3 "2010-07-27T02:44:49Z")

</div>

How do I get it like hey can select send to, human resources, CEO etc

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 27, 2010, 2:46am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/4 "2010-07-27T02:46:53Z")

</div>

Not sure about that one, why don’t you try installing the AirMail Module

---

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 2:48am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/5 "2010-07-27T02:48:11Z")

</div>

I have that and im talking about like this under to whom [http://www.easyjetva.com/index.php/contact](http://www.easyjetva.com/index.php/contact)

regards

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 27, 2010, 2:50am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/6 "2010-07-27T02:50:34Z")

</div>

Maybe a question to ask Mark, since that is his site.

---

<div class="post-metadata">

**Author:** ![TennShadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tennshadow/32/16_2.png) [@TennShadow](https://forum.phpvms.net/u/TennShadow)\
**Post date:** [July 27, 2010, 3:37am UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/7 "2010-07-27T03:37:17Z")

</div>

> Hi, How do you edit the contact us page so the user can decide who to send it to e.g CEO or VCEO and so on.
> 
> Regards

The answer is in the below forum.

---

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 2:53pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/8 "2010-07-27T14:53:09Z")

</div>

Ok, added but I get this error… when someone sends

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its

recipients. This is a permanent error. The following address(es) failed:

[ceo@bmibaby-virtual.net](mailto:ceo@bmibaby-virtual.net)

No Such User Here

regards

---

<div class="post-metadata">

**Author:** ![TennShadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tennshadow/32/16_2.png) [@TennShadow](https://forum.phpvms.net/u/TennShadow)\
**Post date:** [July 27, 2010, 3:28pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/9 "2010-07-27T15:28:17Z")

</div>

> Ok, added but I get this error… when someone sends
> 
> This message was created automatically by mail delivery software.
> 
> A message that you sent could not be delivered to one or more of its
> 
> recipients. This is a permanent error. The following address(es) failed:
> 
> [ceo@bmibaby-virtual.net](mailto:ceo@bmibaby-virtual.net)
> 
> No Such User Here
> 
> regards

That looks like a bounce detection. Make sure the email address is valid and spelled correctly. I have that running on my site with no issues.

---

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 3:29pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/10 "2010-07-27T15:29:55Z")

</div>

Yes correct as displayed here …

[ceo@bmibaby-virtual.net](mailto:ceo@bmibaby-virtual.net) | Manage this domain | Settings | Help | Sign out

---

<div class="post-metadata">

**Author:** ![TennShadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tennshadow/32/16_2.png) [@TennShadow](https://forum.phpvms.net/u/TennShadow)\
**Post date:** [July 27, 2010, 3:34pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/11 "2010-07-27T15:34:03Z")

</div>

> Yes correct as displayed here …
> 
> [ceo@bmibaby-virtual.net](mailto:ceo@bmibaby-virtual.net) | Manage this domain | Settings | Help | Sign out

Post the code that you have from contact\_form.tpl that pertains to the e-mail.

---

<div class="post-metadata">

**Author:** ![david\_thompson](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@david\_thompson](https://forum.phpvms.net/u/david_thompson)\
**Post date:** [July 27, 2010, 3:34pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/12 "2010-07-27T15:34:55Z")

</div>

\<h3\>Contact Us\</h3\>

\<form method=“post” action=“\<?php echo url(‘/contact’); ?\>”\>

\<table width=‘100%’ border=‘0’\>

\<tr\>

\<td\>\<strong\>Name:\</strong\>\</td\>

\<td\>

\<?php

if(Auth::LoggedIn())

{

echo Auth::$userinfo-\>firstname .’ '.Auth::$userinfo-\>lastname;

echo '\<input type=“hidden” name=“name”

value="'.Auth::$userinfo-\>firstname

.’ ‘.Auth::$userinfo-\>lastname.’" /\>';

}

else

{

?\>

\<input type=“text” name=“name” value=“” /\>

\<?php

}

?\>

\</td\>

\</tr\>

\<tr\>

\<td width=“1%” nowrap\>\<strong\>E-Mail Address:\</strong\>\</td\>

\<td\>

\<?php

if(Auth::LoggedIn())

{

echo Auth::$userinfo-\>email;

echo '\<input type=“hidden” name=“name”

value=“‘.Auth::$userinfo-\>email.’” /\>';

}

else

{

?\>

\<input type=“text” name=“email” value=“” /\>

\<?php

}

?\>

\</td\>

\</tr\>

\<tr\>

\<td\>\<strong\>Subject: \</strong\>\</td\>

\<td\>\<input type=“text” name=“subject” value=“\<?php echo $\_POST[‘subject’];?\>” /\>\</td\>

\</tr\>

\<tr\>

\<td\>\<strong\>Recipient:\</strong\>\</td\>

\<td\>\<select name=“recipient”\>

\<option [value="ceo@bmibaby-virtual.net](mailto:value=%22ceo@bmibaby-virtual.net)"\>David Thompson - CEO\</option\>

\<option [value="vceo@bmibaby-virtual.net](mailto:value=%22vceo@bmibaby-virtual.net)"\>Kris Thomson - Vice CEO\</option\>

\</select\>\</td\>

\</tr\>

\<tr\>

\<td\>\<strong\>Message:\</strong\>\</td\>

\<td\>

\<textarea name=“message” cols=‘45’ rows=‘5’\>\<?php echo $\_POST[‘message’];?\>\</textarea\>

\</td\>

\</tr\>

\<tr\>

\<td width=“1%” nowrap\>\<strong\>Security\</strong\>\</td\>

\<td\>

\<?php

echo recaptcha\_get\_html(Config::Get(‘RECAPTCHA\_PUBLIC\_KEY’), $captcha\_error);

?\>

\</td\>

\</tr\>

\<tr\>

\<td\>

\<input type=“hidden” name=“loggedin” value=“\<?php echo (Auth::LoggedIn())?‘true’:‘false’?\>” /\>

\</td\>

\<td\>

\<input type=“submit” name=“submit” value=‘Send Message’\>

\</td\>

\</tr\>

\</table\>

\</form\>

---

<div class="post-metadata">

**Author:** ![TennShadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tennshadow/32/16_2.png) [@TennShadow](https://forum.phpvms.net/u/TennShadow)\
**Post date:** [July 27, 2010, 3:41pm UTC](https://forum.phpvms.net/t/how-to-edit-contact-us/3119/13 "2010-07-27T15:41:14Z")

</div>

```
Change

<select name="recipient"> 

to

<select name="recipient" id="recipient">

```

If that doesn’t work then I’m not to sure what you problem could be.
