|
hi Sylvester ,
actually i want to send a secure number to the user as a SMS,when i click a button. Is this possible?
thanks a lot...
sebastian
|
|
|
|
|
|
Thank you , i will check it out
sebastian
|
|
|
|
|
|
|
hi,
I am dynamically generating Imagebutton (say 5 imagebutton, in loop) .
for each imagebutton url , i am dynamically generating image and assigining to it.
every thing is ok upto this stage.
The problem arises when i click on particular image button
i want to know which image button is clicked, in click event and take appropriate actions.
i have saved image like
bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
|
|
|
|
|
why dont you add a particular event while you are generating ImageButton?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
hi
can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables
regards
shezi
|
|
|
|
|
Yes.
Dim strNetworkUser As String = HttpContext.Current.User.Identity.Name.ToString()
That will return the domain and username. You can then just split the string at the "/" to get just the name.
|
|
|
|
|
plus. you have to deny "Anonymous Access".
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
|
my code is like this
MailMessage mail=new MailMessage();
mail.To ="anu@gmail.com";
mail.From ="anu2@gmail.com";
mail.Subject = "Hai";
mail.Body = "your subject";
SmtpMail.Send(mail);
it's executing.but i am not getting msg in my mail?what is the problem?
When i am using this code
Smtpmail.send(="anu@gmail.com","anu2@gmail.com","Hai","your subject")
i am getting mail in anu2
can anyone tell what is the problem in above code? is there any thing i haveto set in webconfig file?Then How?.......
Can anyone please help me?..it's urgent
|
|
|
|
|
Hi this is the method with arguments for send
=============================================
public static void Send ( System.String from , System.String to , System.String subject , System.String messageText )
Member of System.Web.Mail.SmtpMail
Summary:
Sends an e-mail message using the specified destination parameters.
Parameters:
from: The address of the e-mail sender.
to: The address of the e-mail recipient.
subject: The subject line of the e-mail message.
messageText: The body of the e-mail message.
So its correct its sendting to anu2
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Actually i want to send mail by using mailmessage object.....
|
|
|
|
|
Try This One it should work...
System.Net.Mail.MailMessage mm = new System.Net.Mail.MailMessage();
mm.Subject = "Test Mail";
mm.Body = "This is a Test mail";
mm.IsBodyHtml = true;
System.Net.Mail.SmtpClient ss = new System.Net.Mail.SmtpClient();
System.Net.Mail.MailAddress ma = new System.Net.Mail.MailAddress("test@test.com");
mm.To.Add(ma);
ss.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.PickupDirectoryFromIis;
ss.Host = "setyouripaddress her";
ss.Send(mm);
Koushik
|
|
|
|
|
i think your smtp have a prob
try this its a working code hope your problem will solved and try to use "try/catch" in your code an then read the exception if code dont work that will explain you whats the problem.....
try
{
MailMessage objMail;
objMail = new MailMessage();
objMail.From = "Sender address";
objMail.To = "Recipient address";
objMail.Subject = "Subject of your mail";
objMail.BodyFormat = MailFormat.Html;//you can use text for text message
objMail.Priority = MailPriority.High;
objMail.Body = "Body of your mail";
SmtpMail.SmtpServer = "Your smtp server name";
SmtpMail.Send(objMail);
objMail = null;
}
catch(Exception ex)
{
Response.Write(ex);//this will tell you the problem if got
}
shezi
|
|
|
|
|
i am getting a error like this
Could not access 'CDO.Message' object
|
|
|
|
|
Which OS you are using ?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
|
|
|
Hi all,
Greetings.I need to detect the pop up bloker using javascript. if Pop is turned on i've to display a message "POPUP ON", if it is off have to display "POPUP OFF". I've tried out with some coding from net. But it is not working. Can any one of you help me to solve this issue as soon as possible. Its urgent.
Thanks in advance.
Babu
|
|
|
|
|
|
Hi All,
HoW do we differ HTMl and web Server Controls in as.net
when we go for HTML and Web Server controls,
Pls help
Thanks n Advance
|
|
|
|
|
Hi shakeela,
It's easy to learn this controls..open any online tutorial...and study ....
As a beginner use this-> http://www.w3schools.com/aspnet/default.asp
Regards
Alex.
|
|
|
|