EVOGPS-WebServices-Public


Fare clic qui per ottenere l'elenco completo delle operazioni.

SEND_MAIL

Test

Per eseguire il test dell'operazione utilizzando il protocollo HTTP POST, fare clic sul pulsante Richiama.
Parametro Valore
p_Cliente:
p_Username:
p_Password:
p_Messaggio:
p_Oggetto:
p_Destinatari:
p_Mode:
p_Allegati:
p_HTML:
p_Mittente_Display:
p_Destinatari_CCN:
p_Account_Mail:
p_Destinatari_CC:
p_Mail_Smtp:
p_SSL:
p_Smtp_Port:
p_Account_username:
p_Account_password:
p_crittografia:

SOAP 1.1

Di seguito è riportato un esempio di richiesta e risposta SOAP 1.1. I segnaposto devono essere sostituiti con i valori appropriati.

POST /ws.asmx HTTP/1.1
Host: test.ws-public.evocloud.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "EVOGPS-WebServices-Public/SEND_MAIL"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SEND_MAIL xmlns="EVOGPS-WebServices-Public">
      <p_Cliente>string</p_Cliente>
      <p_Username>string</p_Username>
      <p_Password>string</p_Password>
      <p_Messaggio>string</p_Messaggio>
      <p_Oggetto>string</p_Oggetto>
      <p_Destinatari>string</p_Destinatari>
      <p_Mode>string</p_Mode>
      <p_Allegati>string</p_Allegati>
      <p_HTML>boolean</p_HTML>
      <p_Mittente_Display>string</p_Mittente_Display>
      <p_Destinatari_CCN>string</p_Destinatari_CCN>
      <p_Account_Mail>string</p_Account_Mail>
      <p_Destinatari_CC>string</p_Destinatari_CC>
      <p_Mail_Smtp>string</p_Mail_Smtp>
      <p_SSL>boolean</p_SSL>
      <p_Smtp_Port>int</p_Smtp_Port>
      <p_Account_username>string</p_Account_username>
      <p_Account_password>string</p_Account_password>
      <p_crittografia>int</p_crittografia>
    </SEND_MAIL>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SEND_MAILResponse xmlns="EVOGPS-WebServices-Public">
      <SEND_MAILResult>string</SEND_MAILResult>
    </SEND_MAILResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Di seguito è riportato un esempio di richiesta e risposta SOAP 1.2. I segnaposto devono essere sostituiti con i valori appropriati.

POST /ws.asmx HTTP/1.1
Host: test.ws-public.evocloud.it
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SEND_MAIL xmlns="EVOGPS-WebServices-Public">
      <p_Cliente>string</p_Cliente>
      <p_Username>string</p_Username>
      <p_Password>string</p_Password>
      <p_Messaggio>string</p_Messaggio>
      <p_Oggetto>string</p_Oggetto>
      <p_Destinatari>string</p_Destinatari>
      <p_Mode>string</p_Mode>
      <p_Allegati>string</p_Allegati>
      <p_HTML>boolean</p_HTML>
      <p_Mittente_Display>string</p_Mittente_Display>
      <p_Destinatari_CCN>string</p_Destinatari_CCN>
      <p_Account_Mail>string</p_Account_Mail>
      <p_Destinatari_CC>string</p_Destinatari_CC>
      <p_Mail_Smtp>string</p_Mail_Smtp>
      <p_SSL>boolean</p_SSL>
      <p_Smtp_Port>int</p_Smtp_Port>
      <p_Account_username>string</p_Account_username>
      <p_Account_password>string</p_Account_password>
      <p_crittografia>int</p_crittografia>
    </SEND_MAIL>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SEND_MAILResponse xmlns="EVOGPS-WebServices-Public">
      <SEND_MAILResult>string</SEND_MAILResult>
    </SEND_MAILResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Di seguito è riportato un esempio di richiesta e risposta HTTP GET. I segnaposto devono essere sostituiti con i valori appropriati.

GET /ws.asmx/SEND_MAIL?p_Cliente=string&p_Username=string&p_Password=string&p_Messaggio=string&p_Oggetto=string&p_Destinatari=string&p_Mode=string&p_Allegati=string&p_HTML=string&p_Mittente_Display=string&p_Destinatari_CCN=string&p_Account_Mail=string&p_Destinatari_CC=string&p_Mail_Smtp=string&p_SSL=string&p_Smtp_Port=string&p_Account_username=string&p_Account_password=string&p_crittografia=string HTTP/1.1
Host: test.ws-public.evocloud.it
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="EVOGPS-WebServices-Public">string</string>

HTTP POST

Di seguito è riportato un esempio di richiesta e risposta HTTP POST. I segnaposto devono essere sostituiti con i valori appropriati.

POST /ws.asmx/SEND_MAIL HTTP/1.1
Host: test.ws-public.evocloud.it
Content-Type: application/x-www-form-urlencoded
Content-Length: length

p_Cliente=string&p_Username=string&p_Password=string&p_Messaggio=string&p_Oggetto=string&p_Destinatari=string&p_Mode=string&p_Allegati=string&p_HTML=string&p_Mittente_Display=string&p_Destinatari_CCN=string&p_Account_Mail=string&p_Destinatari_CC=string&p_Mail_Smtp=string&p_SSL=string&p_Smtp_Port=string&p_Account_username=string&p_Account_password=string&p_crittografia=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="EVOGPS-WebServices-Public">string</string>