I need to attached some file (like: pdf, doc, excel, image) within a email automatically, when a new user register for some service. This registration script on CGI and new user after successful registration got a text email, generated by this script but we would like to add one feature that depending on service he choose on the time of registration, he will; get a sample service details along with that thank you email.
If needed we will upload these files on the server on particular folder. Script need to attaché this files into email depend on service chose and send as an attachment.
Anyone have any idea how do I do this?
Thanks.