Possible error in documentation: Email Sending

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

    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
    Member
    • Mar 2014
    • 8697

    #2
    Thanks for reporting.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


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