Ask a Question related to ASP Components, Design and Development.
-
Sandeep P #1
Sending Attachement using APS Cdonts
Hi
I have a program which is used to send a mail with a
attachment using cdonts when i attach a word file and send
it ,i have the following problem while recieving the mail
i find that the attachment is open in the body and it show
all junk characters i want the attached file not to be
opened.
Please suggest me how i can i solve the above problem
Please reply to me on my email addr [email]sandeep200179@yahoo.com[/email]
The following is the code:-
<%
towho="sandeep@200179@yahoo.com"
fromwho="Sandeep@hotmail.com"
subject="New User created"
Body="Auto Generated Mail Donot Reply"
SendMail fromwho,towho,subject,Body
sub sendmail(fromwho,towho,Subject,Body)
dim myMail
Set myMail=Server.CreateObject("CDONTS.Newmail")
myMail.From=fromwho
myMail.To=towho
myMail.Subject=Subject
myMail.Body=Body
myMail.AttachFile Server.MapPath("user_manual.doc")
myMail.Send
Set myMail=nothing
end sub
%>
Thanks
Sandeep P Guest
-
Stream of DIME-Attachement
Hello, I want to send binary files to a webservice by using DIME-Attachments. While the upload, I want to show a progressBar in the client... -
Need a Progressbar while File-Upload as SOAP-Attachement
Hello, I have written a webservice to recive image-uploads. Since I want to encrypt the sent SOAP Messages, I use WSE and add the Pictures as a... -
Sending HTML formatted mail using CDONTS
Does anyone have some sample code for sending an HTML formatted message using CDONTS? Thanks RE: Sending HTML formatted mail using CDONTS ... -
Sending message to SMTP server using CDONTS component
I recently set up a web site which I am running locally on my laptop using ASP.Net. From a web form on the site I am attempting to send an email... -
CDONTS-Sending HTML mail-8000 character limit
Hi all, I have seen a few messages about this in the archives, but none provide a comprehensive answer. Basically, I want to use CDONTS mail... -
Aaron Bertrand - MVP #2
Re: Sending Attachement using APS Cdonts
Use CDO.Message.
[url]www.aspfaq.com/2025[/url]
"Sandeep P" <sandeep200179@yahoo.com> wrote in message
news:0beb01c39e08$9ed60920$a101280a@phx.gbl...> Hi
>
> I have a program which is used to send a mail with a
> attachment using cdonts when i attach a word file and send
> it ,i have the following problem while recieving the mail
> i find that the attachment is open in the body and it show
> all junk characters i want the attached file not to be
> opened.
> Please suggest me how i can i solve the above problem
> Please reply to me on my email addr [email]sandeep200179@yahoo.com[/email]
> The following is the code:-
>
> <%
> towho="sandeep@200179@yahoo.com"
> fromwho="Sandeep@hotmail.com"
> subject="New User created"
> Body="Auto Generated Mail Donot Reply"
>
> SendMail fromwho,towho,subject,Body
>
> sub sendmail(fromwho,towho,Subject,Body)
> dim myMail
> Set myMail=Server.CreateObject("CDONTS.Newmail")
> myMail.From=fromwho
> myMail.To=towho
> myMail.Subject=Subject
> myMail.Body=Body
> myMail.AttachFile Server.MapPath("user_manual.doc")
> myMail.Send
> Set myMail=nothing
> end sub
> %>
> Thanks
>
Aaron Bertrand - MVP Guest



Reply With Quote

