exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with sp3 on win2000

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Application Conversion
Author Message
srini2005



Joined: 05 Aug 2007
Posts: 9

PostPosted: Fri Mar 04, 2005 2:05 am    Post subject: Problem with sp3 on win2000 Reply with quote

We have intranet site. People post messages to exchange server. Some of
these may have attachments. The dll picks up the messages from exchange
server and display in intranet site. After we applied service pack3 on
exchange server machine (win2000), it is only displaying attachments which
are We have intranet site. People post messages to exchange server. Some of
these may have attachments. The dll picks up the messages from exchange
server and display in intranet site. After we applied service pack3 on
exchange server machine (win2000), it is only displaying attachments which
are pasted in between text(.rtf format in outlook2003), but not attachments
which are attached by using tool bar.

Here I am adding psuedo code dll code also. Can any one please help me.

Thanks in advance,

Srinivasa rao Y



Set objCDO = CreateObject("CDO.Message")

strFolderPath = "http://" & strExchangeServer & "/public/TTIntranet/" &
strSource

objCDO.DataSource.Open (strFolderPath & "/" & strMailPath & "/" &
strMailID), cnnExchange, adModeRead

objCDO.MimeFormatted = True

strMsg = objCDO.HTMLBody



If objCDO.Attachments.Count > 0 Then

strMsg = strMsg & "
'bodytextsmallbold'>Attachments (Click on the
filename(s) below to open in a new browser window)"

bFlag = True

For i = 1 To objCDO.Attachments.Count

Set oAttach = objCDO.Attachments(i)



Log ("Source: " & oAttach.Source)

Set collFields = objCDO.Attachments(i).Fields

' get the filename from the content location

sFileName =
objCDO.Attachments(i).Fields("urn:schemas:mailheader:content-location").Valu
e

sFileName = Replace(sFileName, "%20", " ")

' if its an internet based pic...

If InStr(1, sFileName, "http://") Or InStr(1, sFileName,
"https://") Or InStr(1, sFileName, "ftp://") Then

sFileName = objCDO.Attachments(i).FileName

End If



' create the location of the file

sLocation = strFolderPath & "/" & strMailPath & "/" & strMailID
& "/1_multipart/" & sFileName

' if the document is a word doc / text file

' If InStr(1, sFileName, ".doc", vbTextCompare) Or InStr(1,
sFileName, ".xls", vbTextCompare) Then

' sLocation = strFolderPath & "/" & strMailPath & "/" &
strMailID & "/" & sFileName

' ElseIf InStr(1,
objCDO.Attachments(i).Fields("urn:schemas:httpmail:content-media-type"),
"octet-stream", vbTextCompare) Or InStr(1,
objCDO.Attachments(i).Fields("urn:schemas:httpmail:content-media-type"),
"image/", vbTextCompare) Or InStr(1,
objCDO.Attachments(i).Fields("urn:schemas:httpmail:content-media-type"),
"msword", vbTextCompare) Then

If
objCDO.Attachments(i).Fields("urn:schemas:httpmail:content-media-type")
"" Then

sLocation = strFolderPath & "/" & strMailPath & "/" &
strMailID & "/" & sFileName

End If

' replace the > text

strSearch = "<<" & vbCrLf & objCDO.Attachments(i).FileName
& vbCrLf & ">>"

strMsg = Replace(strMsg, strSearch, "", 1, 1)

' build the HREF to be added to the message for the attachement

strHREF = " 'bodytextsmall' style='cursor:hand; text-decoration:underline' onClick =
'javascript:newwin_scrollAttach(" & """" & sLocation & """" & ", 700, 510, "
& """" & "message Attachments" & """" & ");'>" & sFileName &
""

strMsg = strMsg & strHREF

Next

End If

Archived from group: microsoft>public>exchange2000>application>conversion
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
"Date/Time" MAPI Property Problem Hello, Does anyone know which MAPI properties correspond to the "Sent" and "Received" fields of Exchange documents? I have used differnet properties etc) but none of them seems to work. million thanks ch

Problem with sp3 on win2000 We have intranet site. People post messages to exchange server. Some of these may have attachments. The dll picks up the messages from exchange server and display in intranet site. After we applied service pack3 on exchange server machine (win2000), it is

Problem with sp3 on win2000 We have intranet site. People post messages to exchange server. Some of these may have attachments. The dll picks up the messages from exchange server and display in intranet site. After we applied service pack3 on exchange server machine (win2000), it is

Problem with sp3 on win2000 We have intranet site. People post messages to exchange server. Some of these may have attachments. The dll picks up the messages from exchange server and display in intranet site. After we applied service pack3 on exchange server machine (win2000), it is

Problem with sp3 on win2000 We have intranet site. People post messages to exchange server. Some of these may have attachments. The dll picks up the messages from exchange server and display in intranet site. After we applied service pack3 on exchange server machine (win2000), it is
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Application Conversion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group