Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Attachment in CDOSYS

Reply
Thread Tools

Attachment in CDOSYS

 
 
Patrick C
Guest
Posts: n/a
 
      07-16-2005
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




 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      07-16-2005
On Sat, 16 Jul 2005 14:34:16 +0300, "Patrick C"
<_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
 
Reply With Quote
 
 
 
 
Patrick C
Guest
Posts: n/a
 
      07-17-2005
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" <> wrote in message
news:...
> On Sat, 16 Jul 2005 14:34:16 +0300, "Patrick C"
> <_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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdosys.dll and sending mail martin ASP .Net 2 01-04-2012 02:41 PM
CDOSYS problems tshad ASP .Net 0 06-22-2005 11:13 PM
cdosys Nitin ASP .Net 3 04-15-2005 03:00 PM
Is it possible to MailMerge using CDOSYS ? Luqman ASP .Net 0 11-29-2004 08:22 AM
embed pictures in a cdosys sent message René de Leeuw ASP .Net 0 07-22-2003 04:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57