Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29748

Laravel MailSend Swift TransportException Error

$
0
0

i have issue with sending Mails in Laravel

        list($code) = sscanf($response, '%3d');
    $valid = (empty($wanted) || in_array($code, $wanted));

    if ($evt = $this->eventDispatcher->createResponseEvent($this, $response,
        $valid)) {
        $this->eventDispatcher->dispatchEvent($evt, 'responseReceived');
    }

    if (!$valid) {
        $this->throwException(new Swift_TransportException('Expected response code '.implode('/', $wanted).' but got code "'.$code.'", with message "'.$response.'"', $code));
    }
}

/** Get an entire multi-line response using its sequence number */
protected function getFullResponse($seq)
{
    $response = '';
    try {
        do {
            $line = $this->buffer->readLine($seq);
            $response .= $line;
        } while (null !== $line && false !== $line && '' != $line[3]);
    } catch (Swift_TransportException $e) {
        $this->throwException($e);

Expected response code 250 but got code "501", with message "501 5.1.0 Please use one of your account's email addresses in MAIL FROM:\r\n "

I have set this to smtp without tls, mails and other all Set / SendMail same.

What can i doo ?


Viewing all articles
Browse latest Browse all 29748

Trending Articles