DOCUMENTATION

Send Valid Email

Name: EVEnviarEmailValido

This function sends an email to a specified recipient via the Valid Email product.

Input format:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
        <IDCliente>999</IDCliente>
        <CNPJCliente>99999999999999</CNPJCliente>
        <EV_Remetente_Email></EV_Remetente_Email>
        <EV_Remetente_Nome></EV_Remetente_Nome>
        <EV_Destinatario_Email></EV_Destinatario_Email>
        <EV_Destinatario_Nome></EV_Destinatario_Nome>
        <EV_Assunto></EV_Assunto>
        <EV_Corpo_Email_Base64></EV_Corpo_Email_Base64>
        <EV_Anexos>
                <EV_Anexo_Nome></EV_Anexo_Nome>
                <EV_Anexo_Conteudo_Base64></EV_Anexo_Conteudo_Base64>
        </EV_Anexos>
</EmailValido>
Parameter Format Required Description
EmailValido   Y Valid Email Node
IDCliente Numeric Y Client code on Portal
CNPJCliente Numeric Y CNPJ of the client without dashes, bars or dots
EV_Remetente_Email Text Y Email of the sender authorized to send emails
EV_Remetente_Nome Text Y Sender's name
EV_Destinatario_Email Text Y Recipient's email with suffix .VALIDO.COM.BR
EV_Destinatario_Nome Text Y Recipient's name
EV_Assunto Text Y Subject (SUBJECT) of the email
EV_Corpo_Email_Base64 Text Y Email HTML (with embedded images if needed). Valid E-mail only accepts HTML formatted emails. To send HTML in this tag, your content must be converted to BASE64 format.

IMPORTANT: Do not forget to send in the body of the email the respective EVK of the sender to guarantee delivery of the email.
EV_Anexos Text Y Node to set the attached files to be sent
EV_Anexo_Nome Text Y Name of attached file with extension.
EV_Anexo_Conteudo_Base64 Text Y Contents of the attached file in BASE64 format

Output format:

                                    <?xml version="1.0" encoding="ISO-8859-1" ?> 
<EmailValido> 
        <CodErro></CodErro> 	
        <MsgErro></MsgErro> 
</EmailValido>
Parameter Format Description
EmailValido   Valid Email Node
CodErro Numeric Error code (See Valid Email Error Codes
MsgErro Text Error message