 |
|
|
 |
|
 |
Hi,
I use CdO.Message Object in my asp code.It's work fine except one problem
it truncate the message body.
I am using Window Server 2003 Service Pack 1
|
|
|
|
 |
|
 |
Thank you, you are the man!!!!
|
|
|
|
 |
|
 |
I am using cdosys to send results from a form through email. I would like to have the person's name in the subject along with what the subject is regarding (adoption application). How do I do that?
|
|
|
|
 |
|
 |
Hi i have a problem i want to send mail using smtp but the problem is that i want to create the .eml file and put all the entries ,after that i want to move that specific .eml file into inetpubs folder,here i don't want to use .send method.
Jitender
|
|
|
|
 |
|
 |
How to I get the first and Last Name values to show in email as well?
--thanks
|
|
|
|
 |
|
 |
If the SMTP server requires authentication, this won't work .
Can you tell how to do ?
thank you !
|
|
|
|
 |
|
 |
fly09 wrote: If the SMTP server requires authentication, this won't work .
Can you tell how to do ?
You need to know your SMTP Server. Replace "mail-fwd" with your SMTP server.
.Item(cdoSendUsingMethod) = 2 sets the authentication method.
Dim objCDOConf
Set objCDOConf = Server.CreateObject("CDO.Configuration")
With objCDOConf.Fields
.Item(cdoSendUsingMethod) = 2
.Item(cdoSMTPServer) = "mail-fwd"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPconnectiontimeout) = 10
.Update
End With
Gary
|
|
|
|
 |
|
 |
Hi,
I have a small problem.
I cant seem to send out an email and am always coming up with an error.
I am usign ASP and JScript and have treid to use the code given by yourself on this site.
The code is as follows:
----------------------------------------------------------------------------------------------------
<%
Dim strUseId , strPassword
strUserId = Request("UserId")
strPassword = Request("Password")
dim objConn
dim rsUsers
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "DSN=tilak"
set rsUsers = Server.CreateObject("ADODB.Recordset")
strSQL = "Select * from customers where Email_add = '" & strUserId & "';"
rsUsers.Open strSQL , ObjConn
If rsUsers.EOF Then
Response.write "Your email Id does not present. "
else
var conf = Server.CreateObject( "CDO.Configuration" );
conf.Fields( "http://schemas.microsoft.com/cdo/configuration/sendusing" ) = 1;
conf.Fields( "http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory" ) = "c:\\inetpub\\mailroot\\pickup";
conf.Fields.Update();
var msg = Server.CreateObject( "CDO.Message" );
msg.Configuration = conf;
msg.To = "kcmashru@aol.com";
msg.From = "password-reminder@tilak.co.uk";
msg.Subject = "Your Password - Reminder !!";
msg.TextBody = "This is a short message in text format.";
//msg.HTMLBody = "This is a short message in HTML format.";
msg.Send();
msg = null;
conf = null;
response.write "Password has been sent to your email address."
end if
%>
----------------------------------------------------------------------------------------------------
Can you please tell me what the problem is here?
The file is saved as .asp
Thanks
Kush
|
|
|
|
 |
 | Help  |  | Anonymous | 4:43 28 Sep '04 |
|
 |
the property mailformat and bodyformat are not working for ADO object if somebody knows how to do please help me
thanks
|
|
|
|
 |
|
|
 |
|
 |
I've used the CDOSYS code, it generates the .eml file OK, but it just sits in the mailroot/pickup directory and is never sent.
If I use CDONTS (which I've installed on my XP machine), the message is sent immediately.
Anyone know what could be causing this ?
|
|
|
|
 |
|
 |
hi i had problem like that : im not sure of your set up etc as im using merak mail server to handle all my mail..
i set:
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
this enables to Send the message using the network rather than the pickup directory
cheers
stevie
|
|
|
|
 |
|
|
 |
|
 |
Server.CreateObject("CDO.Message")
Is the component you need to use.
SMTP server is too limited. I now recommend sendmail.
Ryan
|
|
|
|
 |
|
 |
Hi,Can you please help. I am receiving an error message when trying to run this on a Windows 2003 server. I need to convert this to be able use CDOSYS and not CDONTS
Thanks
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = strVarEmail
objNewMail.To = sEmail
objNewMail.cc = strVarEmail
objNewMail.Subject = strSubject
objNewMail.BodyFormat = 1
'objNewMail.MailFormat = 1
objNewMail.Body = strBody
objNewMail.Send()
|
|
|
|
 |
|
 |
i cant get this to work, i've uploaded it to my domain. i dont get an error msg when i click the send button the asp runs but just stays blank and nothing happens and no email is generated
|
|
|
|
 |
|
 |
Even for me happened the same case. After clicking the send button, just showing a blank page saying Done. But Neither the Error Nor the Mail is getting generated.
I will be grateful if anyone can show a way to overcome this problem.
Ravie
|
|
|
|
 |
|
 |
exactly the same thing happens to me. The code is very straight forward.
I appreciate this kind of help on the net but I'm not the only one having this trouble. I'm really anxioous to use this component. My OS is Win 2000 Server Pro. I have SMTP set up in IIS. I'm able to use MS Outlook outgoing
e-mail perfectly.
Please help us rbeckett!
Steve
|
|
|
|
 |
|
 |
Hi, I guess I not the only one experiencing this problem...
I using the CDOSYS and the code works fine but the email is never sent...
|
|
|
|
 |
|
 |
what is the perpose of this fix path what will be in our case? this is very confusing. can someone explain this please
Zahid
|
|
|
|
 |
|
 |
yeah, i would like to know too!
and.. should I have installed microsoft SMTP server?
thanks
|
|
|
|
 |
|
|
 |
 | Image  |  | Anonymous | 9:41 11 Dec '03 |
|
 |
How add static image to eMail?
Regards
|
|
|
|
 |
|
 |
and what for jscript and cdosys?
thx
|
|
|
|
 |