Possible error in documentation: Email Sending

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • telecastg
    Active Community Member
    • Jun 2018
    • 907

    #1

    Possible error in documentation: Email Sending

    Right now there is this instruction in the documentation
    PHP Code:
    $this->emailSender
        ->withSmtpParams($smtpParams) // optional
        ->withAttachments([$attachment]) // optional, to send with attachments
        ->send(); 
    
    I believe that this instruction should be corrected to include a reference to the email entity being sent, like this:
    PHP Code:
    $this->emailSender
        ->withSmtpParams($smtpParams) // optional
        ->withAttachments([$attachment]) // optional, to send with attachments
        ->send($email); 
    
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9794

    #2
    Thanks for reporting.

    Comment


    • telecastg
      telecastg commented
      Editing a comment
      You're very welcome
Working...