You must Sign In to post a response.
  • Category: .NET

    Sending mail using vb.net

    Hi friends,
    Am having a html file, and having html submit button, and also having mail coding in vb... now i have to send mail while clicking html submit button, am getting straggle that how to embed vb code in html page and how to link on submit html button with vb code. Give some ideas to rectify it.
  • #754771
    Dear Friend
    one suggestion is you can use WCF Service or WEB API and you can call Mail Sending Method via JQuery .
    other wise as per my knowledge it is not possible to direct embed your VB code to Html.

    --- Suggestions are always welcome

    Thanks
    Umesh Bhosale

  • #754782
    Call the VB code in a JQuery to send the mail.

    you can get a hint from the below snippet



    stackoverflow.com/questions/20954575/jquery-javascript-alternative-to-vb-nets-smtp-send

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • Sign In to post your comments