Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS object question.


Message #1 by 'Name Removed' on Mon, 22 Jan 2001 17:07:24 -0600
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C084C8.14DBD210

Content-Type: text/plain;

	charset="iso-8859-1"



Hello.

I'm trying to setup an .asp page to create a email to be automatically

imported into Goldmine.  My problem is that the Header isn't being updated.

In the following snippet of my code, I can create a new header field called

"MyKeywords", I can change the Mail format (Content-Type) to plain text. 



The following code works, but I can't seem to change the Content-Type to

"application/x-gm-impdata". Which is the missing key function I need to

import into Goldmine. How can I do this, and/or, how I append

"application/x-gm-impdata" to the end of MailFormat? Am I missing a property

of CDONTS?



Thank you.

'Name Removed'





set objMail = CreateObject("CDONTS.NewMail") 



objMail.To = request.form("email") & "[$WebImport$] <" &

request.form("email") & ">" 

objMail.From = "myaccount@j..." 

objMail("MyKeywords") = "application/x-gm-impdata"

objMail.MailFormat = CdoMailFormatText

objMail("Content-Type") = "application/x-gm-impdata"

objMail.Subject = "{$GM-WEBIMPORT$}" 






Message #2 by "Xu Gary" <Gary.Xu@p...> on Tue, 23 Jan 2001 08:48:25 -0800
Goldmine sucks. Dump it.



Gary



(Fully Goldmine certified: GMSM, GMSS, GSync, Heat)

(Fully MS certified: MCP, MCP+I, MCP+SB, MADBA, MCSD, MCSE, MCSE+I)



 
Message #3 by 'Name Removed' on Tue, 23 Jan 2001 12:53:38 -0600
I agree, but that isn't an option. Gary, looks like you are certified in

Goldmine. Do you have any other helpful hints? Am I able to set the

Content-Type using the CDONTS object?



'Name Removed'



Message #4 by "Xu Gary" <Gary.Xu@p...> on Tue, 23 Jan 2001 11:49:00 -0800
'Name Removed',



Sorry. I am totally done with Goldmine. You may want to check Goldmine

Newsgroups. They had a few developers handling newsgroups, at least that was

the case half a year ago. You may also call your VAR and let the VAR copy

and paste the questions and email them to tech support. 



 





-----Original Message-----

From: 'Name Removed' [mailto:'Name Removed']

Sent: Tuesday, January 23, 2001 10:54 AM

To: ASP CDO

Subject: [asp_cdo] RE: CDONTS object question.





I agree, but that isn't an option. Gary, looks like you are certified in

Goldmine. Do you have any other helpful hints? Am I able to set the

Content-Type using the CDONTS object?



'Name Removed'










  Return to Index