email sending in c#.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sweetneel
    New Member
    • Oct 2008
    • 42

    email sending in c#.net

    hi, all
    i have a xml file like.

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <MailSettings>
      
    	<FileType>
    		<DocType>FFG</DocType>
    		<Recipient>abc@gmail.com</Recipient>
    	</FileType>
    	
    	<FileType>
    		<DocType>FFG</DocType>
    		<Recipient>def@yahoo.com</Recipient>
    	</FileType>
    	<FileType>
    		<DocType>FFG</DocType>
    		<Recipient>dcc@gmail.com</Recipient>		
    	</FileType>
    	<FileType>
    		<DocType>ATG</DocType>
    		<Recipient>agg@yahoo.com</Recipient>
    	</FileType>
    	<FileType>
    		<DocType>ARG</DocType>
    		<Recipient>ard@abt.com</Recipient>
    	</FileType>
    
    	<FileType>
    		<DocType>CCG</DocType>
    		<Recipient>adw@awq.com</Recipient>
    	</FileType>
    
    
    
    </MailSettings>
    now depending on the <DocType> the mail should be sent to the recepients. the data is reading from the xml file.

    how to do it in c#.net.

    plz help. its urgent.
    thnx in advance.

    neel
    Last edited by DrBunchman; Oct 17 '08, 12:08 PM. Reason: Added [Code] Tags - Please use the '#' button
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What have you tried so far?

    Have you looked into using the XmlDocument Class for your solution?

    Are you experiencing a specific problem that we can help you with?

    -Frinny

    Comment

    Working...