 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.33/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
If the SMTP server requires authentication, this won't work . Can you tell how to do ?
thank you !
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
 | Help  |  | Anonymous | 5: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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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 ?
|
| Sign In·View Thread·PermaLink | 1.67/5 (3 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
Server.CreateObject("CDO.Message") Is the component you need to use. SMTP server is too limited. I now recommend sendmail. Ryan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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()
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.67/5 (3 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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...
|
| Sign In·View Thread·PermaLink | 3.67/5 (3 votes) |
|
|
|
 |
|
 |
what is the perpose of this fix path what will be in our case? this is very confusing. can someone explain this please
Zahid
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
 |
 | Image  |  | Anonymous | 10:41 11 Dec '03 |
|
|
 |
|
|
 |
|
|
 |
|
 |
Here you go:
//////////////////////////////////////////////////////// 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 = "<recipient>"; msg.From = "<sender>"; msg.Subject = "Test. Hello from CDOSYS!"; msg.TextBody = "This is a short message in text format."; //msg.HTMLBody = "<b>This is a short message in HTML format.</b>"; msg.Send();
msg = null; conf = null; //////////////////////////////////////////////////////////
Note that you can send in either HTML or TXT format.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |