Hi,
I am creating all employee id based pdf file (like emp100.pdf) in one folder. send to mail find each employee mail id and each 1 pdf file attached at a time send mail.
or
One folder all employee id wise pdf file generated. and that pdf file name like get all employee id from pdf file name.that id wised attached pdf automatically and send mail.
please any possible this scenario pleas reply
Loading
Thirunavukkarsu jPosted Dec 31, 2014, 1:19 AM
I generate employee payslip, id based on pdf file(Em1004.pdf) in a folder.
get employee id from pdf file name(employee id is split em1004) to find database employee e-mail id attached automatically send mail. same time to all
Ex.
folder name - D:\Payslip
having 10 pdf file Em1001.pdf, emp1002.pdf, emp1003.pdf...etc
i, need employee id split only pdf name Em1001 it's empid.
ii, that employee id based on find database employee mail id, (Select Mailid from tbl_employee where empid='pdffilename')
iii. process: get mailid- [email protected] ,attached file- em1001.pdf, Send payslip every employee mail id each one pdf attached.
that is sir. please help me
Joginder BangerPosted Dec 30, 2014, 7:55 AM