Email error codes php

Php Mail Error Codes

Php Mail Error Codes

We have collected for you the most relevant information on Php Mail Error Codes, as well as possible solutions to this problem. Take a look at the links provided and find the solution that works. Other people have encountered Php Mail Error Codes before you, so use the ready-made solutions.

php — How can I get the error message for the mail .

    https://stackoverflow.com/questions/3186725/how-can-i-get-the-error-message-for-the-mail-function
    There is no error message associated with the mail () function. There is only a true or false returned on whether the email was accepted for delivery. Not whether it ultimately gets delivered, …

PHP: mail — Manual

    https://www.php.net/manual/en/function.mail.php
    In both cases, PHP’s mail() function returned no error, but until I placed both emails, comma-separated, in the same line I was getting the following error: 550 Messages should have one or no Cc headers, not 2.

PHP: Error Codes — Manual

    https://www.php.net/manual/en/xml.error-codes.php
    The following constants are defined for XML error codes (as returned by xml_parse .

How to test and fix the php mail() function

    https://www.arclab.com/en/kb/php/how-to-test-and-fix-php-mail-function.html
    Upload the modified php file and retry. Contact your provider if it still does not work. Tell your provider that the standard php «mail()» function returns TRUE, but not mail will be sent. It’s recommended to include the used php test script to show your provider, that the problem is not caused by the php …
Читайте также:  Установить python на флешку

Php Mail Error Codes Fixes & Solutions

We are confident that the above descriptions of Php Mail Error Codes and how to fix it will be useful to you. If you have another solution to Php Mail Error Codes or some notes on the existing ways to solve it, then please drop us an email.

SIMILAR Errors:

  • Proofing Errors Microsoft Word
  • Planning Ods Load Worker Error
  • Ps3 Error Code 8002f310
  • Pro Tools Mf Error
  • Probability Of Error For Bipolar Nrz
  • Print Spooler Errors Xp
  • Pervasive Licence Error 161
  • Pc Error Program
  • Post Screen Error Codes
  • Pioneer Stereo Format Read Error
  • Protocol Error Email Outlook
  • Pc-Dmis Emergency Error
  • Program Error Photoshop Saving Pdf
  • Postgresql Error Could Not Read Block 0 In File
  • Peterson Weldon Error Correcting Codes
  • Plus Or Minus Error In Excel
  • Program Error Photoshop Cc
  • Pjm Software Error Led To Generator Overpayments
  • Panasonic Error Code U81
  • Platform Command Processor Has Encountered A Problem Error

Источник

Phpmailer error codes

Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

Tags

Marcus Bointon phpmailer@synchromedia.co.uk

Table of Contents

Constants

DEBUG_CLIENT

= 1 Debug level to show client -> server messages. DEBUG_CONNECTION

= 3 Debug level to show connection status, client -> server and server -> client messages. DEBUG_LOWLEVEL

= 4 Debug level to show all messages. DEBUG_OFF

= 0 Debug level for no output. DEBUG_SERVER

= 2 Debug level to show client -> server and server -> client messages. DEFAULT_PORT

= 25 The SMTP port to use if one is not specified. DEFAULT_SECURE_PORT

= 465 The SMTPs port to use if one is not specified. LE

= «rn» SMTP line break constant. MAX_LINE_LENGTH

= 998 The maximum line length allowed by RFC 5321 section 4.5.3.1.6,
*excluding* a trailing CRLF break. MAX_REPLY_LENGTH

= 512 The maximum line length allowed for replies in RFC 5321 section 4.5.3.1.5,
*including* a trailing CRLF line break. VERSION

= ‘6.8.0’ The PHPMailer SMTP version number.

Properties

$Debugoutput

: string|callable| LoggerInterface How to handle debug output. $do_debug

: int Debug output level. $do_verp

: bool Whether to use VERP. $Timelimit

: int How long to wait for commands to complete, in seconds. $Timeout

: int The timeout value for connection, in seconds. $error

: array Error information, if any, for the last SMTP command. $helo_rply

: string|null The reply the server sent to us for HELO. $last_reply

: string The most recent reply received from the server. $last_smtp_transaction_id

: string|bool|null The last transaction ID issued in response to a DATA command,
if one was detected. $server_caps

: array|null The set of SMTP extensions sent in reply to EHLO command. $smtp_conn

: resource|null The socket for the server connection. $smtp_transaction_id_patterns

: array Patterns to extract an SMTP transaction id from reply to a DATA command.

Methods

authenticate()

: bool Perform SMTP authentication. client_send()

: int|bool Send raw data to the server. close()

: mixed Close the socket and clean up the state of the class. connect()

: bool Connect to an SMTP server. connected()

: bool Check connection state. data()

: bool Send an SMTP DATA command. getDebugLevel()

: int Get debug output level. getDebugOutput()

: string Get debug output method. getError()

: array Get the latest error. getLastReply()

: string Get the last reply from the server. getLastTransactionID()

: bool|string|null Get the queue/transaction ID of the last SMTP transaction
If no reply has been received yet, it will return null. getServerExt()

: string|bool|null Get metadata about the SMTP server from its HELO/EHLO response. getServerExtList()

: array|null Get SMTP extensions available on the server. getTimeout()

: int Get SMTP timeout. getVerp()

: bool Get VERP address generation mode. hello()

: bool Send an SMTP HELO or EHLO command. mail()

: bool Send an SMTP MAIL command. noop()

: bool Send an SMTP NOOP command. quit()

: bool Send an SMTP QUIT command. recipient()

: bool Send an SMTP RCPT command. reset()

: bool Send an SMTP RSET command. sendAndMail()

: bool Send an SMTP SAML command. setDebugLevel()

: mixed Set debug output level. setDebugOutput()

: mixed Set debug output method. setTimeout()

: mixed Set SMTP timeout. setVerp()

: mixed Enable or disable VERP address generation. startTLS()

: bool Initiate a TLS (encrypted) session. turn()

: bool Send an SMTP TURN command. verify()

: bool Send an SMTP VRFY command. edebug()

: mixed Output debugging info via a user-selected method. errorHandler()

: mixed Reports an error number and string. get_lines()

: string Read the SMTP server’s response. getSMTPConnection()

: false|resource Create connection to the SMTP server. hmac()

: string Calculate an MD5 HMAC hash. parseHelloFields()

: mixed Parse a reply to HELO/EHLO command to discover server extensions. recordLastTransactionID()

: bool|string|null Extract and return the ID of the last SMTP transaction based on
a list of patterns provided in SMTP::$smtp_transaction_id_patterns. sendCommand()

: bool Send a command to an SMTP server and check its return code. sendHello()

: bool Send an SMTP HELO or EHLO command. setError()

: mixed Set error messages and codes.

DEBUG_CLIENT

Debug level to show client -> server messages.

DEBUG_CONNECTION

Debug level to show connection status, client -> server and server -> client messages.

public
int
DEBUG_CONNECTION
= 3

Источник

Phpmailer smtp error code

Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

Tags

Marcus Bointon phpmailer@synchromedia.co.uk

Table of Contents

Constants

DEBUG_CLIENT

= 1 Debug level to show client -> server messages. DEBUG_CONNECTION

= 3 Debug level to show connection status, client -> server and server -> client messages. DEBUG_LOWLEVEL

= 4 Debug level to show all messages. DEBUG_OFF

= 0 Debug level for no output. DEBUG_SERVER

= 2 Debug level to show client -> server and server -> client messages. DEFAULT_PORT

= 25 The SMTP port to use if one is not specified. DEFAULT_SECURE_PORT

= 465 The SMTPs port to use if one is not specified. LE

= «rn» SMTP line break constant. MAX_LINE_LENGTH

= 998 The maximum line length allowed by RFC 5321 section 4.5.3.1.6,
*excluding* a trailing CRLF break. MAX_REPLY_LENGTH

= 512 The maximum line length allowed for replies in RFC 5321 section 4.5.3.1.5,
*including* a trailing CRLF line break. VERSION

= ‘6.8.0’ The PHPMailer SMTP version number.

Properties

$Debugoutput

: string|callable| LoggerInterface How to handle debug output. $do_debug

: int Debug output level. $do_verp

: bool Whether to use VERP. $Timelimit

: int How long to wait for commands to complete, in seconds. $Timeout

: int The timeout value for connection, in seconds. $error

: array Error information, if any, for the last SMTP command. $helo_rply

: string|null The reply the server sent to us for HELO. $last_reply

: string The most recent reply received from the server. $last_smtp_transaction_id

: string|bool|null The last transaction ID issued in response to a DATA command,
if one was detected. $server_caps

: array|null The set of SMTP extensions sent in reply to EHLO command. $smtp_conn

: resource|null The socket for the server connection. $smtp_transaction_id_patterns

: array Patterns to extract an SMTP transaction id from reply to a DATA command.

Methods

authenticate()

: bool Perform SMTP authentication. client_send()

: int|bool Send raw data to the server. close()

: mixed Close the socket and clean up the state of the class. connect()

: bool Connect to an SMTP server. connected()

: bool Check connection state. data()

: bool Send an SMTP DATA command. getDebugLevel()

: int Get debug output level. getDebugOutput()

: string Get debug output method. getError()

: array Get the latest error. getLastReply()

: string Get the last reply from the server. getLastTransactionID()

: bool|string|null Get the queue/transaction ID of the last SMTP transaction
If no reply has been received yet, it will return null. getServerExt()

: string|bool|null Get metadata about the SMTP server from its HELO/EHLO response. getServerExtList()

: array|null Get SMTP extensions available on the server. getTimeout()

: int Get SMTP timeout. getVerp()

: bool Get VERP address generation mode. hello()

: bool Send an SMTP HELO or EHLO command. mail()

: bool Send an SMTP MAIL command. noop()

: bool Send an SMTP NOOP command. quit()

: bool Send an SMTP QUIT command. recipient()

: bool Send an SMTP RCPT command. reset()

: bool Send an SMTP RSET command. sendAndMail()

: bool Send an SMTP SAML command. setDebugLevel()

: mixed Set debug output level. setDebugOutput()

: mixed Set debug output method. setTimeout()

: mixed Set SMTP timeout. setVerp()

: mixed Enable or disable VERP address generation. startTLS()

: bool Initiate a TLS (encrypted) session. turn()

: bool Send an SMTP TURN command. verify()

: bool Send an SMTP VRFY command. edebug()

: mixed Output debugging info via a user-selected method. errorHandler()

: mixed Reports an error number and string. get_lines()

: string Read the SMTP server’s response. getSMTPConnection()

: false|resource Create connection to the SMTP server. hmac()

: string Calculate an MD5 HMAC hash. parseHelloFields()

: mixed Parse a reply to HELO/EHLO command to discover server extensions. recordLastTransactionID()

: bool|string|null Extract and return the ID of the last SMTP transaction based on
a list of patterns provided in SMTP::$smtp_transaction_id_patterns. sendCommand()

: bool Send a command to an SMTP server and check its return code. sendHello()

: bool Send an SMTP HELO or EHLO command. setError()

: mixed Set error messages and codes.

DEBUG_CLIENT

Debug level to show client -> server messages.

DEBUG_CONNECTION

Debug level to show connection status, client -> server and server -> client messages.

public
int
DEBUG_CONNECTION
= 3

Источник

Оцените статью