Contact Form with user id instead of email address?

Hello again,
I’m trying to build a contact form and instead of entering email address, i want the user to enter its user id and I will include the @domain.com on actionscript on the form and on its php.
Something like this:
User id:[COLOR=#0000ff]"________"[/COLOR] ([COLOR=#0000ff]enter by user[/COLOR]) @ domain.com (@domain.com will be already on the form)
so all the user has to do is enter its user id.
this user id will pick up the rest which will be the @domain.com and that would be an email send.
Has anyone done that before?.. any help please!

ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000ff]on[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]

[COLOR=#0000ff]if[/COLOR] [COLOR=#000000]([/COLOR]!Email.[COLOR=#0000ff]length[/COLOR] || Email.[COLOR=#0000ff]indexOf[/COLOR]COLOR=#000000[/COLOR] == -[COLOR=#000080]1[/COLOR] || Email.[COLOR=#0000ff]indexOf[/COLOR]COLOR=#000000[/COLOR] == -[COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
EmailStatus = [COLOR=#ff0000]“Please enter a valid COMPANY E-mail address”[/COLOR];
[COLOR=#000000]}[/COLOR]
[COLOR=#0000ff]else[/COLOR] [COLOR=#0000ff]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
EmailStatus = [COLOR=#ff0000]“Please enter your message”[/COLOR];
[COLOR=#000000]}[/COLOR]

[COLOR=#0000ff]else[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#0000ff]loadVariablesNum[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#ff0000]“MailPHP.php”[/COLOR], [COLOR=#ff0000]“0”[/COLOR], [COLOR=#ff0000]“Post”[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000ff]gotoAndPlay[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR]
[COLOR=#000000]}[/COLOR]
[/LEFT]
[/FONT]

and this is what i have on my php file
PHP Code:
[LEFT][COLOR=#000000][COLOR=#0000bb]<?
$ToEmail [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]“email@domain.com”[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000bb]$ToSubject [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]“Training Orientation Feedback”[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000bb]$EmailBody [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]"Sent By: $FirstName[/COLOR][COLOR=#007700]
[/COLOR][COLOR=#dd0000]Senders Email: $Email[/COLOR][COLOR=#007700]

[/COLOR][COLOR=#dd0000]Message Sent:[/COLOR][COLOR=#007700]
[/COLOR][COLOR=#dd0000]$ToComments[/COLOR][COLOR=#007700]
[/COLOR][COLOR=#dd0000]"[/COLOR][COLOR=#007700];
[/COLOR][COLOR=#0000bb]mail[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]$ToName[/COLOR][COLOR=#007700].[/COLOR][COLOR=#dd0000]" <"[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]$ToEmail[/COLOR][COLOR=#007700].[/COLOR][COLOR=#dd0000]">"[/COLOR][COLOR=#007700],[/COLOR][COLOR=#0000bb]$ToSubject[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]$EmailBody[/COLOR][COLOR=#007700], [/COLOR][COLOR=#dd0000]“From: “[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]$FirstName[/COLOR][COLOR=#007700].[/COLOR][COLOR=#dd0000]” <”[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]$Email[/COLOR][COLOR=#007700].[/COLOR][COLOR=#dd0000]">"[/COLOR][COLOR=#007700]);
[/COLOR][COLOR=#0000bb]?>[/COLOR] [/COLOR][/LEFT]

my input text variable is called Email

thanks for the help.