I have two custom objects one is package and second is transaction. Transaction is the child of package. I made a visual force page which including the details of transaction. I am taken two custom detail buttons in the package object. one button is for generating the pdf with transction details and another button is for mailing the pdf to corresponding mail id of package. Actually i generate pdf with transaction details.
Any one help me out, how to email this pdf to corresponding mail id of package.