Jump to content

ASP MAIL ATTACHMENT PROBLEM


Recommended Posts

I am Trying to Attach a File from My local Machine to my Own Email Client which I created for an Online Project.

In this site the User Should attach their Resumes and Send.

I am Using CDONTS Component for the Mail

and I am Using

<%

Dim MailMe

Set MailMe = Server.CreateObject("CDONTS.NewMail")

MailMe.From = UserEmailid

MailMe.To = EmailME

MailMe.Subject = MailSubject

......

.......

....

MailMe.AttachFile "C:\Resume.doc"

MailMe.Send

set MailMe=nothing

%>

The problem is it is giving Error at the AttachFile Line

Thank you

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...