swiftmailer

    0熱度

    1回答

    我正在使用swiftmailer發送我的郵件在我的web應用程序。它在dev上運行得非常好,但是當我嘗試使用prod時,我收到以下消息: Swift_TransportException: Failed to authenticate on SMTP server with username "[mymail]@gmail.com" using 1 possible authenticators

    3熱度

    3回答

    我的應用程序發送很多郵件。官方文檔通過HTTP客戶機分析器告知how to test emails sending。 但我顯然沒有一個控制器,我發送的每封電子郵件。 如何測試我的電子郵件,而不是從控制器觸發? (我的意思不是來自請求上下文)。 在我的特定情況下,進一步的細節 我使用監聽器來觸發這是做了「電子郵件路由」呼叫服務 我想在這裏做什麼,是發射一些事件,並檢查發送的內容(電子郵件正文,標題,

    3熱度

    1回答

    我一直在嘗試使用laravel Mail::send()函數獲取沒有收到電子郵件的收件人列表。我正在嘗試下面的代碼。 for循環用作因爲每個用戶都要接收定製的消息。 // First recipient is actual, the second is dummy. $mail_to_users = ["[email protected]","[email protected]"]; $fai

    0熱度

    1回答

    在遵循this tutorial將我的應用部署到Azure之後,我的應用在大多數方面都工作得很好。 但是,當我嘗試發送電子郵件時,它永遠不會通過。錯誤日誌狀態 [2015-10-06 01:25:58] app.ERROR: Exception occurred while flushing email queue: Connection could not be established with

    0熱度

    1回答

    嘗試使用我的GMail帳戶從我的PHP application與SwiftMailer發送電子郵件時出現以下錯誤。 535-5.7.8 Username and Password not accepted 這是我的SwiftMailer代碼: $transporter = Swift_SmtpTransport::newInstance('smtp.gmail.com', 465, 'ssl'

    0熱度

    2回答

    我試圖通過COMMANDE與swiftmailer發送電子郵件,但我得到這個錯誤信息 的COMMANDE: php app/console swiftmailer:email:send 錯誤: Connection could not be established with host smtp.gmail.com 爲什麼是這? 我的配置parameters.yml文件看起來像這樣: par

    3熱度

    1回答

    我試圖使用Laravel中的SwiftMailer驗證登錄憑證。我需要驗證SMTP服務器的登錄憑據,而不實際發送電子郵件。 我試圖做這樣的事情: $client = Swift_SmtpTransport::newInstance($smtpServer, $smtpPort, 'ssl'); $client->setUsername($this->smtpUser); $client->se

    0熱度

    1回答

    我在AppServiceprovider::boot方法,whcih確保我收到一封電子郵件,每當任何記錄一個警告或更高嚴重性級別下面的代碼。 $message = \Swift_Message::newInstance('An Error has Occurred in XXX') ->setTo(env('ERROR_EMAIL_TO')) ->setFrom(env('ER

    0熱度

    1回答

    我使用Swiftmailer 這裏發送電子郵件時,有一個奇怪的現象是PARAMATERS: #Swiftmailer parameters @ app/config/parameters.yml parameters: mailer_transport: smtp mailer_host: ssl0.ovh.net mailer_user: [email pr

    1熱度

    1回答

    以下代碼將完美地發送給我們的內部郵件系統。但是,在Gmail中,我只看到一個meeting.ics文件附件。我沒有看到要求我參加RSVP的塊。我錯過了什麼? 這裏的`cal.ics'文件: BEGIN:VCALENDAR PRODID:-//[email protected]//[email protected]//EN VERSION:2.0 CALSCALE:GREGORIAN MET