none
How to Send Email in Office 365

    Question

  • i have this code in my office 365 public site page

            $('#imageField').click(function (e) {
                   
            $.ajax({
                       type: "POST",
                       url: "/services/Mail.asmx/SendMail",
                       cache: false,
                       contentType: "application/json; charset=utf-8",
                       data: "{ 'body':'"  + $(#message).val() + "'," +
                                 "'to': '" + "developer.alvi@gmail.com" + "'," +
                                 "'from': '" + $("#email").val() + "'," +
                                 "'subject': " + $("#subject").val() + "'" +
                             "}",
                      dataType: "json",
                       complete: function (transport) {  if (transport.status == 200)
                  $('#ContactUs').hide();
                    $('#lblMessage').html("Thank You, your message has been sent.We will contact you shortly.");            
                 else $('#lblMessage').html("Please try again later"); }
                       });

            });

    in this code what is URL is showing ,is this a web service, then describe me how to create this service or give me a link for it ,

    Thursday, July 04, 2013 5:45 AM