Hi, Please help me with sending an email (asp.net / vb.net)
I have 2 listbox (Type and Scope). Types values are 'IT' and 'MIS'. When a user select 'IT', then 'network' and 'server' are shown in "Scope ListBox" and when a User selects 'MIS' ,then 'Cubes' and 'Crystal Reports' is shown in "Scope Listbox".
After the user selects and click on save Button , it should send an email to the user and to the IT dept.For example , If a user selects IT/NETWORK THEN IT SHOULD SEND AN EMAIL TO 'SAB' FROM IT DEPT WHOSE EMAIL ID IS 'SABA@YAHOO.COM' AS WELL AS TO THE USER.
If User_level is 'I' then its a person from 'IT Dept' , 'II' is a 'normal User'(see Table B).Here am using Session variable to capture the User Id from login page. See Table Below.

Code:
TABLE A:
TYPE_LABEL  SCOPE_LABEL      SCOPE_ADMIN
------------------------------------------
IT	    NETWORK	         SAB
IT	    SERVER	         NULL
MIS	    CUBES	         VIN
MIS	    CRYSTAL REPORTS	 SIA
Code:
TABLE B:
USER_ID       USER_NAME      	USER_EMAIL         USER_LEVEL
-------------------------------------------------------------
SAB		SABA	 	saba@yahoo.com		I
YIL		YILIN		yilin@yahoo.com		I
VIN		VINA		vina@yahoo.com		I
SIA		SIAM		siam@yahoo.com		I
ZZZ		ZEAN		zean@yahoo.com		II
Please help me with this how to send an email with coding in vb.net.
Thanks in advance.. Let me know if u have any queries.