469,625 Members | 1,211 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

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 3648
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Neil Ginsberg | last post: by
8 posts views Thread by Akbur | last post: by
1 post views Thread by vinodkus | last post: by
2 posts views Thread by mister-Ed | last post: by
9 posts views Thread by paulmitchell507 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.