Click here to Skip to main content
14,697,992 members

Comments by sarathtamil (Top 50 by date)

sarathtamil 20-Apr-17 8:51am View
   
i develop one website ,if any customer visit this page , ask something or comments like customer fill the following fields name,mailaddress,mobilenumber and comments after customer click sendmessage button .then admin of the website receive email. here sender have only email. how to receive this email(admin).
sarathtamil 20-Apr-17 7:49am View
   
in contact us page customer just enter the mobileno , email address AND comments should be added. finally to send message button click.
sarathtamil 20-Apr-17 7:41am View
   
i know receiver username and password . how do you know sender password...
sarathtamil 20-Apr-17 7:39am View
   
how to connect sender mail id?
sarathtamil 20-Apr-17 7:37am View
   
using (MailMessage message = new MailMessage())
{
message.From = new MailAddress(Email.Text.ToString());
//message.To.Add(new MailAddress("skalaivanan28@gmail.com"));
message.To.Add(new MailAddress("sarathcse.44@gmail.com"));
//message.CC.Add(new MailAddress("copy@domain.com"));
message.Subject = Name.Text.ToString();
message.Body = yearofmake.Text.ToString();
if (FileUpload1.HasFile)
{
HttpFileCollection hfc = Request.Files;
for (int i = 0; i <= hfc.Count - 1; i++)
{
HttpPostedFile hpf = hfc[i];
Attachment objattach = new Attachment(hpf.InputStream, hpf.FileName);
message.Attachments.Add(objattach);
}
}
SmtpClient smtp = new SmtpClient();
smtp.Host = "smtp.gmail.com";
smtp.EnableSsl = true;
System.Net.NetworkCredential netcred = new System.Net.NetworkCredential();
netcred.UserName = "sarathcse.44@gmail.com ";
netcred.Password = "password";
smtp.UseDefaultCredentials = false;
smtp.Credentials = netcred;
smtp.Port = 587;
smtp.Send(message);
}

my from address is skalaivanan28@gmail.com. but inbox receive 'me' as sender

here from: sarathcse.44@gmail.com
to: sarathcse.44@gmail.com
date: Thu, Apr 20, 2017 at 4:33 AM
subject: kalai
mailed-by: gmail.com
sarathtamil 20-Apr-17 7:29am View
   
ok sir i will try.
sarathtamil 20-Apr-17 7:22am View
   
here 'to address' is company or site mail address ,how to add network credential?
i have company username and password, but how do i know customer password?
sarathtamil 6-Jan-14 2:13am View
   
onclientclick i call the same function but fixed div move to top and not scroll .fixed div scrolled first time only ,
sarathtamil 6-Jan-14 1:46am View
   
page refresh...listview updated but fixed div move to top...
sarathtamil 3-Jan-14 7:00am View
   
i click add button like quantity 1 to 2.Listview have following fields itemname,qunatity,price.listview updated but fixed div go to top of page.
sarathtamil 3-Jan-14 6:58am View
   
this javascript to use fix the div

$(function() {
var $sidebar = $("#smallscroll"),
$window = $(window),
rightOffset = $sidebar.offset(),
rightDelta = $("#Footer").offset().top - $("#Header").offset().top - $("#Header").outerHeight() - $("#smallscroll").outerHeight(),
topPadding = 15;

$window.scroll(function() {
$sidebar.stop().animate({
marginTop: Math.max(Math.min($window.scrollTop() - rightOffset.top + topPadding, rightDelta), 0)
});
});

});
sarathtamil 3-Sep-13 9:50am View
   
i need a marquee with based on the label text size..
sarathtamil 26-Jun-13 8:37am View
   
k sir...thank..
sarathtamil 21-Jun-13 8:40am View
   
thanks for response,

first order some items it returns the time properly then again order from same table and same order id how can i find second order time only


example : for first order takes 30 min for 5 items then again order 1 item how to find that item time to complete its same table and same order id
sarathtamil 21-Jun-13 8:03am View
   
if 30mins deliverytime in first threee items....after 35mins i order another 2item..now,i need these 2items time only..Because i use a time counter for deliverytime of that items.
sarathtamil 21-Jun-13 7:49am View
   
if 30mins deliverytime in first threee items....after 35mins i order another 2item..now,i need these 2items time only..Because i use a time counter for deliverytime of that items.
sarathtamil 21-Jun-13 7:47am View
   
i need a time to delivery that items....
sarathtamil 21-Jun-13 7:43am View
   
table have orderid and tableid only...
sarathtamil 21-Jun-13 7:18am View
   
Then,I find the time difference,,,But after 22 mins completed and extra 3 mins completed ...then i add another two item

orderid tableid Timetaken(Mins) itemname datetime
1 1 20 Dhosa 2013-06-20 06:03:33.343 PM
1 1 10 Juize 2013-06-20 06:03:33.343 PM
How to find the Current time taken in two items(30mins)??Advance thanks.....
sarathtamil 20-Jun-13 9:22am View
   
Thank u sir....
sarathtamil 24-Apr-13 9:06am View
   
how??
sarathtamil 27-Feb-13 9:12am View
   
in this code , display error..
sarathtamil 27-Feb-13 8:48am View
   
i need the edit,update and delete command buttons in outside of gridview.
sarathtamil 27-Feb-13 2:38am View
   
i need a edit and delete button in outsite of gridview....
sarathtamil 23-Feb-13 8:15am View
   
how?
sarathtamil 23-Feb-13 8:15am View
   
i need a code for without using command buttons...
sarathtamil 18-Feb-13 6:05am View
   
i need a code for click the gridview row then hide the gridview header.
sarathtamil 13-Feb-13 7:00am View
   
ok..do you have any sample code?i am not well in javascript.
sarathtamil 5-Feb-13 5:10am View
   
yes..
sarathtamil 4-Feb-13 7:00am View
   
tahnks friend...
sarathtamil 4-Feb-13 6:41am View
   
how to set the visible property is false or true?
sarathtamil 29-Jan-13 6:34am View
   
yes,keep that row in gridview but don't edit that row..
sarathtamil 29-Jan-13 6:34am View
   
Deleted
yes,keep that row in gridview but don't edit that row..
sarathtamil 27-Dec-12 8:25am View
   
it ask credentials(username and password) but i doesnot set any username and password.
sarathtamil 27-Dec-12 8:18am View
   
iis have only startpage pane only
sarathtamil 26-Dec-12 9:30am View
   
call my webservice in android app at another computer
sarathtamil 10-Dec-12 5:43am View
   
are u get?
sarathtamil 10-Dec-12 5:30am View
   
set the correct Empid value field is Dropdownlist.selecteditem why you give textbox1.....
sarathtamil 3-Dec-12 10:19am View
   
how to do work it? please give example..
sarathtamil 3-Dec-12 10:01am View
   
i click w3schools webservice is open my browser,can you see my service in your browser..
sarathtamil 3-Dec-12 9:59am View
   
sir ,please click my url ,can you get a webservice?
sarathtamil 21-Nov-12 23:17pm View
   
while is small letter....
sarathtamil 21-Nov-12 23:17pm View
   
while(dr.Read())//while is lower case letter..........
sarathtamil 21-Nov-12 6:11am View
   
Directly put DateTime.Now
sarathtamil 20-Nov-12 1:59am View
   
use postback at page load...
sarathtamil 5-Nov-12 1:45am View
   
which value is assigned in bal?
sarathtamil 2-Nov-12 4:37am View
   
what error ?
sarathtamil 2-Nov-12 4:36am View
   
check the data definition of the each column in the table
sarathtamil 29-Oct-12 8:06am View
   
clearly describe
sarathtamil 12-Oct-12 3:21am View
   
yes,i add some flash design for my website