|
You can always create a service the will send so many emails per hour. You are in complete control of the code.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I know , I wanna ask "is it helpful to invoke Sleep(milliSeconds) function in the body of the loop to mitigate this problem ? " Or another technique should be used ? for example creating threads or invoking functions asynchronously ?
|
|
|
|
|
Never, ever use Sleep to block processing for a period in time. It's a poor design choice.
|
|
|
|
|
Can you give me a pragmatic way to send emails slowly to compensate for lack of server resources ?
|
|
|
|
|
If you need to send that many emails, you need to run the application on a separate server (actually it should be from several servers). Never attempt to use the web server to do this because you will always be competing with HTTP traffic (plus, it's a good idea to have the SMTP protocol on a different server to the one running the HTTP protocol. Try to keep your resources separated out for security purposes).
|
|
|
|
|
For some reasons we need to countenance our current server configuration with limited resources.
So we don't expect ideal. The delay is not a problem even if it takes 3 hours to send them. We can run the send operation when the site traffic is on the wane.(e.g. 3 AM) What do you think then ?
Thanks Regards
|
|
|
|
|
I just asked for a solution matching my current configuration ?
|
|
|
|
|
hi
is there any way to print to DataMax printer Through her driver
using asp.net in the client side ?
thanks in advance
|
|
|
|
|
You can't specifically select a printer from ASP.NET. If the user has the printer configured and available then they can choose to print to it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I was trying to get a gridview and a set of text boxes .side by side (Left to Right-Parallel) in a Row.
This renders fine - in IE,Firefox and Opera.How ever in google chrome the text boxes are rendered below the grid (top down -instead of side by side).
can any one advise on this.where could i be going wrong ?
<table align="left">
<tr align="left">
<td align="left" >
<fieldset style=" color: Black; width:621px; border-color: DarkGray">
<table>
..... A gridview
</table>
</fieldset>
</td>
<td >
<fieldset style=" color: Black;width:485px; border-color: DarkGray">
<table style="width: 490; font-family: Calibri; font-size: medium">
..... Some text Boxes
</table>
</fieldset>
</td>
</tr>
</table>
|
|
|
|
|
Table layouts are antiquated and slow rendering, try using div instead. Also, inline styles is asking for maintenance headaches. Put them in a separate file and you can target your layout to specific browsers and situations.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Converted the Table to Div - that doesn't work.This doesn't work in IE,FF as well as Opera.
|
|
|
|
|
Would you like to show how you have restructured using divs.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
<Div align="left">
<tr align="left">
<td align="left" >
<fieldset style=" color: Black; width:621px; border-color: DarkGray">
<Div>
..... A gridview
</Div>
</fieldset>
</td>
<td >
<fieldset style=" color: Black;width:485px; border-color: DarkGray">
<Div style="width: 490; font-family: Calibri; font-size: medium">
..... Some text Boxes
</Div>
</fieldset>
</td>
</tr>
</Div>
|
|
|
|
|
remove fieldset...then I think it will work..why you are using fieldset..?? whatever attribute you want to apply...use them in div itself...
HELLO GUY
|
|
|
|
|
It was the same issue.I added the fieldset later on.
|
|
|
|
|
Mahendra Vishwakarma wrote: remove fieldset
How did you get that far without hitting a problem!
return 5;
|
|
|
|
|
Actually, many times we face such type of problems but we have to do some R&D on that..there was a problem with me also when i was using the fieldset and then I remove it, the problem goes out...so do not reaply like fresher...
HELLO GUY
|
|
|
|
|
...I think you missed the joke... and do you mean reply or re-apply
return 5;
|
|
|
|
|
Well, that's invalid markup. The use of a tr predicates that you have a table in there; tr stands for table row.
|
|
|
|
|
yeah - i was guessing that . but i need two tables in a tr - table row. how else can i get the two tables side by side?.
i was just wondering how come it renders fine in all browsers excep chrome.?
|
|
|
|
|
By using CSS
<div style="float:left">
I am table 1
</div>
<div style="float:left">
I am table 2
</div>
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
A more accurate step in making tables side by side for most browsers to understand try:
<table>
<tr>
<td>
<table id="leftSide">
<tr><td>Left Side magic happens in here...</td></tr>
</table>
</td>
<td>
<table id="rightSide">
<tr><td>Right Side magic happens in here...</td></tr>
</table>
</td>
</tr>
</table>
you can try two divs which both float left but chrome doesn't like this aproach hence undesirable results.
Besides, alignment of your two tables will never go below each other should your two tables widths exceed
your page width as float:left would do. the choice is ya' wish!
Gudluck buddy...
|
|
|
|
|
yeah found my way through using this one.thx anyways
|
|
|
|
|
Table layouts are antiquated and perform poorly in rendering. You want to add two embedded tables within another?
A "more accurate" approach would be to use divs and CSS.
MorgSim wrote: divs which both float left but chrome doesn't like this aproach
Haven't had this problem.
I know the language. I've read a book. - _Madmatt
|
|
|
|