473,396 Members | 2,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Attachment in CDOSYS

Hi All

I am having a rather odd problem with CDOSYS attachment.
My script sends out an email to potential employers with candidate resume's
in attahments.
the attachmentes are made dynamically by looping the :

..AddAttachment "http://serverurl/previewcv.asp?candidateid=" & candidateid

So far things go smoothly.

The problem appears when the email has been sent:

- From my development server: the attachments are added normally and named:
ATT00184.htm , ATT00185.htm ... etc
Which is perfect for later viewing.

- From the shared hosting environment where the site is running: the
attachments are added normally BUT they are all named: previewcv.htm
which poses a caching problem when viewing them in a browser sometimes and
most important does not allow the recipient to "save all attachments" as it
will always ask to overwrite same name files.

Your help is greatly appreciated

thanks in advance
Patrick


Jul 22 '05 #1
2 3747
On Sat, 16 Jul 2005 14:34:16 +0300, "Patrick C"
<pa*****@webmail.alfa.com.lb_nospam> wrote:
Hi All

I am having a rather odd problem with CDOSYS attachment.
My script sends out an email to potential employers with candidate resume's
in attahments.
the attachmentes are made dynamically by looping the :

.AddAttachment "http://serverurl/previewcv.asp?candidateid=" & candidateid

So far things go smoothly.

The problem appears when the email has been sent:

- From my development server: the attachments are added normally and named:
ATT00184.htm , ATT00185.htm ... etc
Which is perfect for later viewing.

- From the shared hosting environment where the site is running: the
attachments are added normally BUT they are all named: previewcv.htm
which poses a caching problem when viewing them in a browser sometimes and
most important does not allow the recipient to "save all attachments" as it
will always ask to overwrite same name files.


Sounds like you need to open a discussion with your hosting service..

Jeff
Jul 22 '05 #2
My Hosting provider denies having any restrictions or special settings on
the server.
I tend to believe them since they usually go out of their way to solve my
problems.

My problem is very tricky coz it involves a mixture of features.

Anyway I have written a class that retrieves the file via http and saves it
to a temp folder, attaches it , sends it then deletes the temp file

I just would have rathered to use the native feature in CDOSys

thanks
PC
"Jeff Cochran" <je*********@zina.com> wrote in message
news:42***************@msnews.microsoft.com...
On Sat, 16 Jul 2005 14:34:16 +0300, "Patrick C"
<pa*****@webmail.alfa.com.lb_nospam> wrote:
Hi All

I am having a rather odd problem with CDOSYS attachment.
My script sends out an email to potential employers with candidate
resume's
in attahments.
the attachmentes are made dynamically by looping the :

.AddAttachment "http://serverurl/previewcv.asp?candidateid=" & candidateid

So far things go smoothly.

The problem appears when the email has been sent:

- From my development server: the attachments are added normally and
named:
ATT00184.htm , ATT00185.htm ... etc
Which is perfect for later viewing.

- From the shared hosting environment where the site is running: the
attachments are added normally BUT they are all named: previewcv.htm
which poses a caching problem when viewing them in a browser sometimes and
most important does not allow the recipient to "save all attachments" as
it
will always ask to overwrite same name files.


Sounds like you need to open a discussion with your hosting service..

Jeff

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: NetNoise | last post by:
Hi. I'm using CDO SYS to send email messages. I can attach a file just fine. However, I need to attach an HTML page that's generated on the fly by my ASP code. The attachment source code gets...
14
by: Neil Ginsberg | last post by:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to "Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works fine, both on my PC and on another PC. However, on...
24
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I...
8
by: Akbur | last post by:
Dear all, I'm having major issues sending an email from my ASP.NET app. I'm getting a "Could not create 'CDO.Message' object". When I did a search for cdosys.dll in \win_location\system32, I...
1
by: vinodkus | last post by:
dear sir/maadm I have to send a mail attachment but my problem is that file name of my attachment should be changed that i will write in a text box. please suggest any solution Thanks in...
1
by: phoneyiam | last post by:
I'm am trying to create an e-mail form that allows users to add a photo. I only see topics showing how to create an autoresponse that sends the end user a file but nothing on how to unable the end...
2
by: mister-Ed | last post by:
Trying to use cdosys mail, but this is giving me an "no such object" error. the hosting company is not much help, but their list of components offered does include cdosys mail: <form...
9
by: paulmitchell507 | last post by:
I have a file called email2.asp which I am using to mail data obtained from a SQL query. I would like to pass the holiday_ID value in the querystring attached to the end of the URL. It all works...
2
by: Yosi | last post by:
Hi All I have recently changed my send email vbscript to work on W2K3 and I am now using the CDO.Message object. I need to rename files attached to the email without copying / renaming the file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.