title: Attaching a pdf with wp_mail function in wordpress
body: <p>I am trying to attach a pdf file created using tcpdf library in order to process a reservation form data. The mail can be sent but, the dynamically created pdf file can't be attached. Any help in this regard is highly appreciated.</p>