![]() |
HJB 3/10/2017 |
https://xlinesoft.com/livedemo/invoice/livedemo1/invoices_add.php |
![]() |
lefty author 3/10/2017 |
https://xlinesoft.com/livedemo/invoice/livedemo1/invoices_add.php John, the INVOICE template is exactly doing of what you are looking for. Say, you just click on "Send Invoice" button on top and a window is popping up where you can make adjustments/modifications on subject, mail text (while the email address is pulled from the client table) and if all is okay, you finally click on SEND. So, a $49 investment would not solve your problem, but enable you to show up with that very functionality among your clients which induces them to immediately fall in love with sophisticated apps, forever;-)
|
![]() |
HJB 3/10/2017 |
but it just creates the invoice |
![]() |
lefty author 3/10/2017 |
[size="3"][/size]Will Check it out . Thanks |
![]() |
lefty author 3/17/2017 |
I have looked at phpmailer examples here . Just don't work with attachments. especially pdf files. |
![]() |
HJB 3/18/2017 |
In my opinion since being a member 2005 . This option should have been added a long time ago as an easy addon or part of phprunner. Can't be added to asprunner as their library is out of date . but asp.net would work also. Why is there a wait time for this option as it's been asked in the forum for 12 years. I could not care less if you added extra $$$$ to the upgrade just do it. It would make everyone's coding a lot more simpler. |
C
|
chrispa 3/19/2017 |
Great topic exactly what i need also to implement. |
C
|
chrispa 3/19/2017 |
Great topic exactly what i need also to implement. |
C
|
chrispa 3/20/2017 |
hello |
![]() |
lefty author 3/23/2017 |
In my opinion since being a member 2005 . This option should have been added a long time ago as an easy addon or part of phprunner. Can't be added to asprunner as their library is out of date . but asp.net would work also. Why is there a wait time for this option as it's been asked in the forum for 12 years. I could not care less if you added extra $$$$ to the upgrade just do it. It would make everyone's coding a lot more simpler.
|
C
|
chrispa 3/25/2017 |
Hi JOHN, |
![]() |
lefty author 3/25/2017 |
Hi JOHN, Following code worked fine me as far as related with sending pdf as email attachment after you generate pdf . My problem remains the child records <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=81783&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> quote $to = "abc@gmail.com"; $subject = "mail with attachment"; $att = file_get_contents( 'generated.pdf' ); $att = base64_encode( $att ); $att = chunk_split( $att ); $BOUNDARY="anystring"; $headers =<<<END From: Your Name <abc@gmail.com> Content-Type: multipart/mixed; boundary=$BOUNDARY END; $body =<<<END --$BOUNDARY Content-Type: text/plain See attached file! --$BOUNDARY Content-Type: application/pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="your-file.pdf" $att --$BOUNDARY-- END; mail( $to, $subject, $body, $headers );
|