Auto Adding Domain to Email (1 Viewer)

forms_are_nightmares

Registered User.
Local time
Today, 12:39
Joined
Apr 5, 2010
Messages
71
Hi All,

After searching on here a bit and trying a few things on my own, I'm stuck.

Scenario:

I have a form for requisitions, which automatically pulls in the requisitioner's name based on their network ID. Luckily, the network ID is the same as the person's email address. (No problems there)

I have another form for approvers, on which there is a button labeled approve. When the approver checks it, it will automatically send an email to the requisitioner.

Problem:

The email functionality works fine, i.e., the email (outlook) opens and populates all the pertininet information, with the exception of the domain. Since everyone is on the same domain, how can I write the code to automatically attach the domain?

In other words: requisitioner@somewhere.com

With several hundred employees, I'd rather not try to manage a table.

Thanks
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 12:39
Joined
Aug 30, 2003
Messages
36,133
Concatenate them:

[UserName] & "@somewhere.com"
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 12:39
Joined
Aug 30, 2003
Messages
36,133
No problemo. See, forms don't have to be nightmares! :p
 

Users who are viewing this thread

Top Bottom