|
I had a similar problem a few weeks ago. It helped to set the smtp server to local host and not domain.com or mail.domain.com.
|
|
|
|
|
Hello,
In my recent project I used sending mails functions.
Actually 2 approaches are their.
1. In this case the mails go to bulk /spam folder
2. In 2nd approach mail will go to inbox(u r using authentication here as u have to mention uid/pwd of sending mailer)
I am putting the exact codes that I have written previously.
______________________________________________________
1st Approach
public void SendMail()<br />
{<br />
MailMessage msgMail=new MailMessage();<br />
msgMail.To=emailTo;<br />
msgMail.From="test@test.com";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Body="whatever u want";<br />
SmtpMail.SmtpServer = "";<br />
SmtpMail.Send(msgMail);<br />
<br />
}<br />
2nd Approach(same as 1st approach with some additional fields of authentication)
public void SendMail()<br />
{<br />
MailMessage msgMail=new MailMessage();<br />
msgMail.To=emailTo;<br />
msgMail.From="test@test.com";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Subject="test visitors mail";<br />
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "test@test.com");
msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "testpassword");
SmtpMail.SmtpServer = "mail.test.com" ;
SmtpMail.Send(msgMail);<br />
<br />
}
Thanks,
Prabir
|
|
|
|
|
|
Hi,
I want to use ASP.Net menu control in my project, the main problem i am facing is how to integrate the Membership and Roles in the Menu, what i mean to say is that only limited menus should be visible to user who has logged in, based on the role whihc he/she has.
How can i accomplish it.
Thanks,
Deepak Surana
|
|
|
|
|
hi,
Programatically How to get Shared folder's in a computer's which are connected in LAN.
kamalnath
|
|
|
|
|
|
Friends...any one can guide me about how can i implement PaymentGateway(PAYPAL ,Escrow, HSBC and Other CreditCards) in my application which is on asp.net 2.0 with c#..
Please help me i urgently need this and i don't know about it.
Thanks in Advance
Nilesh Upadhyay.
|
|
|
|
|
Paypal has its own API, logon to the paypal site for more information
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
Hi All,
I am using ASP.NET 1.1 for web application.I need to add TabControl for WebApplication.
Is that possible in ASP.NET 1.1?
Thanks in advance
|
|
|
|
|
Hi
For Each control in Web page you can find TabIndex in the properties of each control and give them the order u want.
|
|
|
|
|
hi,
Try this link...
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/tabstrip.asp
Thanks & Regards...
Amit
|
|
|
|
|
Hii friends,
I am intrested to have a website like http://www.tmz.com/ but in .NET.
So can you plese suggest any good CMS in .NET for this.
Best Wishes,
prabir
|
|
|
|
|
|
Hello,
Budget is not a issue, but I need some good links 4 CMS of this type, then I need to research.
Can u plz suggest.
Thanks,
Prabir
|
|
|
|
|
Ok,
well, I suggest you have a look here http://www.cmsmatrix.org/
|
|
|
|
|
thank you Jason
Thanks,
Prabir
|
|
|
|
|
|
hi, I have problem related to printing .
I have to take print of only one page and want to set it through the code of javascript using
printWindow.document.write(printContent.innerHTML);
I want to specify the No of Pages=1 as argument i.e. hard coded.
Currently what is happning ,initially RadButtn of Print dialogue box is set for "ALL" in this case I get one extra page along with required one,this should not happen.
If we select Radbutoon For number of pages and set it to 1, I get only 1 page that is Ok.But if user will not select it then his one page is wasted bcoz "All" radio btn is selected by default.
Hoping Got my problem.
Please tell how to achieve it?
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Please any one can give me some idea about.
How to Implement payment gateway (Paypal ,Credit Cards and escrow)in my project which are
in asp.net(C#) and SqlServer2000.
thanking you.
|
|
|
|
|
You need a Merchant Account with the Payment Gateway like Verisign or ICICI PaySeal.
|
|
|
|
|
in asp.net project i have created a 2 web forms and i put one Button On first form in that on click event i have written like this
webfrom2 w2=new webform2
w2.visible=true;
w2.enableviewstate=true
but it will not work how to do?
|
|
|
|
|
actually what u want to do?
regards
GV Ramana
|
|
|
|
|
now i got code to do thank you
another question:
in sql how to combine two columns in to one
how to do it
by view or by query
|
|
|
|
|
select column1+' ' +column2 as CombineColumns from tablename
"My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates
|
|
|
|
|
If you trying to access webfrom2 then you have to write this code:
Response.Redirect("webform2.aspx");
"My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates
|
|
|
|