You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
710 B
26 lines
710 B
using API_NetFramework.Controllers;
|
|
using API_NetFramework.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
|
|
namespace OnDocAPI_NetFramework.Controllers
|
|
{
|
|
public class MailController : ApiController
|
|
{
|
|
[HttpGet]
|
|
[Route("API/SendMail")]
|
|
public IHttpActionResult SendMail(string empfaenger, string betreff, string message, string dokumentid, string ondoclink)
|
|
{
|
|
APILogging.Log((HttpRequestMessage)Request, "Mailversand: " + empfaenger+""+betreff, LogLevelType.Debug);
|
|
|
|
|
|
|
|
return Content(HttpStatusCode.OK, empfaenger + ": Mail versandt");
|
|
}
|
|
}
|
|
}
|