Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Error when a invalid domain key is used #1

Open
tomfotherby opened this issue Dec 12, 2013 · 0 comments
Open

No Error when a invalid domain key is used #1

tomfotherby opened this issue Dec 12, 2013 · 0 comments

Comments

@tomfotherby
Copy link

Here is a test case:

    // Set a incorrect domain key
    Apostle::setup("incorrect_key_entered");

    // Create a mail instance
    $mail = new Mail( "welcome", ["email" => "[email protected]" ] );

    // Add any values our template needs
    $mail->username = "Snikch";

    // Send to Apostle.io
    $result = $mail->deliver($failureMsg);

    echo $result ? "all ok" : "Something failed: $failureMsg\n";

It prints "all ok". Would be better if we could get a error message saying domain key is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant