|
|
Hi, You are sending IIS configuraion IIS 6.0 but i was working with IIS 5.1. it will support IIS 5.1
|
|
|
|
|
|
I Change the setting but still same problem.. mail goes to queue folder any other way..
|
|
|
|
|
It could be that your ISP is blocking mail going out from your local server, or other things really hard to say without seeing the configuration. You could however try to use an outside mail server if you have one and set CDOSYS to authenticate like the following:
Set myMail = CreateObject("CDO.Message")
//now set the mail server
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.yourdomain.com"
//set the port
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
//set code to authenticate
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
//set the email address for authentication
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username@yourdomain.com"
//set password for authentication
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
myMail.Subject="Sending email with CDO"
myMail.From="dmanivelan@siminfosystems.com"
myMail.To="dmanivelan@siminfosystems.com"
myMail.Bcc="dmanivelan@siminfosystems.com"
myMail.Cc="dmanivelan@siminfosystems.com"
myMail.TextBody="Testing." & Time
myMail.Send
set myMail=nothing
Let me know if that helps.
Matthew Vass
QA Analyst
mvass@hostmysite.com
http://www.hostmysite.com?utm_source=bb[^]
|
|
|
|
|
Hi, Again same problems.. mails sent in QUEUE folder
|
|
|
|
|
Ok i was getting the same issue as you when using XP and localhost for smtp relay. I think i may have missed something in my original code snippet, but i did test this on my local and got this working hopefully this will help with your issue.
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="matt@xynergypc.com"
myMail.To="livenitup603@yahoo.com"
myMail.TextBody="This is a message."
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="youremailserver"
'Server port
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
'authenticate
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
'email address for authentication
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "youremailaddresshere"
'email password
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "youremailpasswordhere"
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing
|
|
|
|
|
Hi friend,
error '80040211'
"myMail.Send"
/ASP/Sim File/MailCode/NewMail.asp, line 71
i am getting error this line "myMail.Send"
|
|
|
|
|
This usually means that your unable to send mail via that smtp relay.
1. does your email/website provider allow smtp relay?
2. do you login to your email with your full email address or just username
Basically the cdosys script is working but unable to connect to the email server for what ever reason. If your mail server doesn't require authentication (although all most do) then you will not need the username/email address and password. If they do require authentication you will need to make sure that the username/email address and password are correct as well as the server name and port. If all that information is correct you may want to ensure you can send mail on port 25. To do that you can try and telnet to your mail server on port 25, if this doesn't connect try port 50. The default smtp mail port is 25, but there usually is always an alternate port such as with our company which is port 50. If neither of these work then you should contact your email provider and find out what ports they allow smtp relay on, that is if they do.
Hope this helps.
|
|
|
|
|
My asp.net application is ajax enabled. After the page is loaded completely, if there is no user activity for sometime, the screen stops responding until i close the browser and open it again.
In some of the screens, on Session timeout (i have tested it by keeping the screens idle for 20 minutes), the user is redirected to the login page.
But on few screens, the redirect does not happen. The screen stands still and no buttons links on the page respond to any mouse or keyboard event.
At this point, if i press the "Refresh" button on the browser address bar, then i get logged out of the application and redirected to the login page.
On the browser Status bar (bottom left hand corner of the browser window) a javascript error message displayed as "Error on Page" instead of "Done".
On click of it, following error messages can be seen in the javascript error message pop-up.
Unexpected ajax response was received from the Server
This may be caused by one of the following reasons:
Server.Transfer
Custom Http handler
Incorrect loading of an "Ajaxified" user control
Verify that you don't get a server side exception or any other undesired behavior, by setting the EnableAJAX property to false.
not possible to add the screen shots, else wd have done.
All the pages and user controls in my application follow the same ajax panel structure and loading.
|
|
|
|
|
without connecting to internet, is it possible to test email / autogenerate emails using "localhost"?
|
|
|
|
|
If you have a local smtp server. There are other programs that fake this but you'll have to do some searching.
|
|
|
|
|
|
Neonlight and Matthew, thanks for the response. I shall get back to you.
|
|
|
|
|
Hi,
I need to find a way to detect which PHYSICAL key is pressed, using Javascript. The best that JS can offer, as far as I can see, is finding the Virtual Key code of a key (With onkeyup/onkeydown), which doesn't always map to the same physical key (For example, the key under 6 and 7 on the US keyboard is Y and sends DOM_VK_Y virtual key code, but in the German layout it's Z and it sends DOM_VK_Z). Those VKs would be enough info if I knew which keyboard layout the user is using.
Some background on keyboard layouts, because this is a confusing subject: A keyboard sends a scan code, which is more or less standardized across all "normal" keyboards, so that key under 6 and 7 (The US layout Y and German Z) always sends the same code. The OS (Let's say Windows) translates that into a Virtual Key code, that in case of the latin letters is usually the same as the ASCII code for the letter on the key, but really doesn't have to be the same, and with non-latin-script languages, it isn't. You can look up VK_* constants in Win32 API. That translation is dependent upon the current layout. From there, the VKs are translated to characters, again, according to the keyboard layout.
If I get the VKs (easy part) plus know the current layout (what I'm asking), then I can check the tables and see what physical key was pressed. I'm also open to other methods I may not have thought about.
What I have already tried:
1. Flash - Tried using ActionScript functions to get the browser's current keyboard layout. Can't be done. Tried using Flash's keyboard events to get the scan codes (Windows' WM_CHAR and the likes have that info in them), but Flash doesn't supply that info. I might have missed something there, because I couldn't find good documentation on the subject.
2. Java Applets - Since the Java plugin gets loaded once per browser session, I can only get the layout the browser process had when when a Java applet was first called, and who knows when that was. Changing the layout in the browser doesn't affect the layout in the Java plugin, so there's no way to tell what happened since Java was first loaded. I used java.awt.im.InputContext.getInstance().getLocale(). Using a Java textbox instead of an HTML element is out of the question for various reasons.
3. JS dispatchEvent/fireEvent - Tried to see if I can emulate the pressing of certain VKs and see what Unicode chars they generate, and try to guess the layout from that. Unfortunately, Javascript can't really emulate keystrokes, just single events, so onkeydown (That has VK info) didn't cause onkeypress (That has char code info) to be generated, so that can't be used.
At that point my ideas ran dry. I hope that listing them here would at least help someone else think of something...
Thank you!
|
|
|
|
|
how to execute php code from mysql (phpmyadmin)?
Thanks
|
|
|
|
|
Why do you want to do that ?
It's not a recommended way !
You ought to find other ways for it
|
|
|
|
|
It is possible - but i can't remember the function that lets you run stored code. Still , I think you're better off finding another way too though. Why not just make a function and grab individual bits of the database as & when you need them.
|
|
|
|
|
Thanks from your comments and kind guidance.
i found the solution there is a specific function for it
eval()
Thanks
|
|
|
|
|
|
i came across a manual that gives instructions on how to set up websites/webpages from scratch using notepad and saving as html. what i am trying to find out is, are there special codes or instructions on how to add functions to your website/webpage? right now i am only as far as adding the header, body and i have just started adding links to my email address etc. is there a way to add like an order form, guest book?

|
|
|
|
|
If you're going to start adding things such as a guest book, and especially an order form, you need to start learning server side languages and probably databases. The most common server-side languages/frameworks these days are probably php and ASP.NET (with VB.NET or C# as a language). I recommend looking for a book such as Beginning PHP or Beginning ASP.NET Databases using C#, and working through the book from start to finish.
Scott
|
|
|
|
|
|
You might also be able to find a flat file script that will do what you want (A flat file is just a text file that holds all your data - not a database).
Try searching google for: "flat file guestbook"
|
|
|
|
|
hi
my html form contains a table tag .
i would like to populate this table using a javascript function.
my probllem is that i created a table that contains another table inside on of the tags. i tried to write the most basic code:
var myTable = document.createElement('tbody');
var row1 = document.createElement('tr');
var col1 = document.createElement('td');
var but1 = document.createElement('input');
but1.setAttribute('type','button');
but1.setAttribute('value','button1');
col1.appendChild(but1);
row1.appendChild(col1);
myTable.appendChild(row1);
var row2 = document.createElement('tr');
var col2 = document.createElement('td');
var nestedTbl = document.createElement('tbody');
var row3 = document.createElement('tr');
var col3 = document.createElement('td');
var but2 = document.createElement('input');
but2.setAttribute('type','button');
but2.setAttribute('value','button2');
col3.appendChild(but2);
row3.appendChild(col3);
nestedTbl.appendChild(row3);
col2.appendChild(nestedTbl);
row2.appendChild(col2);
myTable.appendChild(row2);
MainTable.appendChild(myTable);
when i run the javascript function it creates the table 'MyTable' and shows the first button but ignores completely from the inner table.
is there a way to achieve my goal ? |
|
|
|
|