none
Sending Mail via Exchange 2010 Using Remotepower shell command or Web Service with Vb.net2010? RRS feed

  • Question

  • I have the Exchange server 2010 administrator credentials.
    Now I want to send a mail to my Exchage server 2010 mailbox users using vb.net2010.
    I have used a SMTP and I got "The remote certificate is invalid according to the validation procedure at..." error.

    So

    I need a sample code for sending mail using Web service or remote powershel command.
    please help me..
    By
     A PathFinder
    JoSwa..

    Sunday, June 5, 2011 4:30 PM

Answers

  • One easy way to do it is to configure an RFC 822 formatted message with a name of something.eml and drop it in the Pickup directory.  A basic message looks like this:


    To:harry.potter@hogwarts.int

    From:severus.snape@hogwarts.int

    Subject:Wand Recall

    <blank line>

     Please return your wand to Ollivander's,

    Makers of Fine Wands since 382 BC, Diagon Alley,

    for replacement due to a manufacturer recall.

    Thank you,

    Mr. Ollivander, Proprietor

    .   <dot by itself on a line>

     


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Sunday, June 5, 2011 7:21 PM