CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Sending Emails only when logged in as certain user group

Print topic Send  topic

Author Message
grivers

Posts: 28
Posted: 10/08/2008, 3:54 AM

Hi. Need to be able to put a sort of IF staement into a send email command.
I have code that sends an email to a group of people when a record has been submitted but I need to distinguish who is logged in to determine if the email is to be sent.
e.g. logged in as GroupID1 send the email Logged in as GroupID2 don't send the email?
View profile  Send private message
grivers

Posts: 28
Posted: 10/08/2008, 7:42 AM

Think I got it

If CCGetGroupID = "4" then


Email COde

end if
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.