Forum Moderators: open
when i am giving like this
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.From = "sunitha@mvd.com.my"
Mail.FromName = "Mail with Attachment "
Mail.Host = "mvd.com.my"
Mail.Subject = "Mail Check"
ss = "info@mvd.com.my"
Mail.AddAddress ss
Mail.Body = "Customer Details Here"
stPath = Server.MapPath("sample.txt")
Mail.AddAttachment stPath
this sample.txt file is there in my server(as i have already uploaded that file).
i am getting error like this.
please till me where i am going wrong?
Persits.MailSender.4 error '800a0007'
The system cannot find the file specified.
/uploadpersists.asp, line 102
regards,
sunitha.
I got the solution for this problem.now attachment is going.
but i am facing diffent problem.
that is cont i able to receive parameters from the previous page using Request.Form("accno") from the previous page from the same page where i am doing uploading and mail sending.
when i write this it is saying that
Request object error 'ASP 0207 : 80004005'
Cannot use Request.Form
/uploadpersists.asp, line 75
Cannot use Request.Form collection after calling BinaryRead.
so,i want to send some parameters(which i send from the previous page)along with Mail.Body,how is it possible,
could you please tell be bit early.
thanks and regards,
sunitha