Skip to content

Error when sending emails #5

@djardine

Description

@djardine

Using symfony 2.7 I get the following error when attempting to send an email via swiftmail:

Notice: Undefined property: SendGrid\Response::$_status_code

        // only 2xx status are ok
        if (
                $response->_status_code < self::STATUS_OK_SUCCESSFUL_MIN_RANGE || 
                self::STATUS_SUCCESSFUL_MAX_RANGE < $response->_status_code ) {
            
            // to force big boom error uncomment this line

Maybe the sendgrid php library has breaking changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions