Existing Live Email Account To Access Application
Feb 22, 2011I am building a MVC app where I want users to login using their Windows Live email account. Any ideas how to proceed? Show code...
View 1 RepliesI am building a MVC app where I want users to login using their Windows Live email account. Any ideas how to proceed? Show code...
View 1 RepliesI am able to get a token with Windows Live Delegate Authentication samples provided by Microsoft.
Now I want to access emails (New, Read, Unread etc) from live account. How can I achieve it with the help of Windows Live Delegate Authentication? Are there any examples for the same?
The Samples given by Microsoft are not related to emails.
i want asp.net script to create new email account. i mean there should b registration form like gmail or yahoomail and my user can create their own account under my domain name.
View 1 RepliesI am trying hard from the past 2 days to Send mail to my gmail account. But I am not able to do so
Only Exception i am getting is "Failure sending mail."
Â
If i am giving wrong username and password then it is giving the exception
Â
" The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at"
Â
 0
Â
 2
I have asp.net application deployed on local server what i want is to access application remotely through public(live)[We have one)..
View 5 RepliesI am building an MVC app where I want users to login via their existing gmail accounts. how to proceed?
View 1 RepliesI am logged in as the administrator when I installed an application named pdflatex.exe on my server. This application works as a converter from LaTeX input file to Pdf file. I host an Asp.net MVC 3 application running under an Application Pool Identity with Load User Profile = True. The Asp.net MVC 3 code contains a code that executes pdflatex.exe using System.Diagnostic.Process instance as follows:
Process p = new Process();
p.EnableRaisingEvents = true;
p.Exited += new EventHandler(p_Exited);
p.StartInfo.Arguments = "-interaction=nonstopmode " + inputpath;
p.StartInfo.WorkingDirectory = @"c:mydomain.comworking";
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName = "pdflatex.exe";
p.Start();
p.WaitForExit();
From the scenario above, the web application runs under a restricted acount but it executes an external application under a default account that I don't know. Can an application running under a less privileged account start a process executing another application under an administrative account?
how to migrate an existing database from a specific application to a new Ms Access based application(database)?
View 4 Replieshow to login with Microsoft Account in ASP.Net Website using C#
View 1 RepliesI need to create an email application that support sending and receive email application.
View 1 RepliesI need to create Email account using my domain .. I have registered domain i can create unlimited email accounts from my server .. as of now i am using asp.net 2005 and C# . now my questions how to create email using C# ???
for eg : www.mydomain.com
email like : emailid@mydomain.com
while send email from asp.net code, When i am sending mail to other than gmail then its work fine , but when i try to send an email to gmail account its not working Send To : info@[URL] is my gmail account email address When i send email to info@[URL] its not working when i use another email Like Send To: awakeel@[URL] its work fine and i recieve the email
View 5 RepliesHaving problems sending email to a gmail account? In my web config I have it setup as:
Code:
<system.net>
<mailSettings>
<smtp from="xxxx" deliveryMethod="Network" >
<network host="smtp.xxxx.com" password="xxx" userName="xxx" enableSsl="false" port="25" />
</smtp>
</mailSettings>
</system.net>
This works if I send it to something like my domain, but if I try this to gmail it will give me something like "secure connection required" I've tried a few different ports. I've tried 587 and it gives me the same thing. If I turn enablessl=true ports 587 and 25 will tell me secure email no supported. If I try it on port 465 it will time out.
there's a thing called "Collaboration Data Objects for Windows 2000" using System.Web.Mail, but I don't want to do that because I'm using System.Net.Mail and microsoft also when I try and compile the CDO objects it says it's now unsupported plus it doesn't work anyway. It times out when I try this:
Code:
Dim smtpServer As String = "xxxx"
Dim userName As String = "xxx"
Dim password As String = "xxx"
Dim cdoBasic As Integer = 1
[Code] ....
I hava a textbox and button in my project. I want the button on click to add a new column inside the database "Trial.mdb" , table name "table1". The column name will be text typed in the textbox and it will be text type. How could I do that? with a sql code in asp:accessdatasource or in my code behind ?
View 13 Repliesto send email to user who is creating new account. i am using following code but it is not working well for me.
[Code]....
Can we use gmail account to send email in asp.net website from *localhost * (local machine) ? I am trying but badly unsuccessful. It works fine on hosting but donot work on my machine.
I have windows server 2003 on my machine, I have added port 587 and 465 in firewall in exceptions. In my gmail account I also have enabled POP and IMAP. Some people to use port 465 and others say port 587 should be used. I tried both and below was my result:
Using port 465 it take time and finally give message that the opration has timed out. falure
Using port 587 it dont take time, show message "failuer sending email" with an inner expection "No connection could be made because the target machine actively refused it 72.14.213.109:587"
[code]....
Really sorry because this is almost "send me the code" - although really it's "send me a link to another discussion"
I am setting up a .net membership system and need to validate users from the email address they provide via a "click here to validate your account" type link.
Just wondered if anyone knew of any good tutorials or posts out there about this? I have searched for about an hour and can't find anything - hence me asking the question.
The last few days I'm trying to figure out how to connect to SMTP service and create new user account (read email address) programmatically from ASP.NET. To give you the background, I'm building a hosted app where a new instance is created and a dedicated email address is assigned, now all is done, but I can't figure out how to create a new email account.
View 3 Repliesi have name ,address,contactno,emailid,details of enquiry labels and their respective textbox and one submit button.i just want to send all the information to my emailid(msenterprises@mseworld.in) whenever a user click on submit button..
View 1 RepliesI am using gmail for sending email in my asp.net application. Email works fine if I send email on server but if I try to send emails on local machine it give error. I placed break poin in code and when send method is called it shows error box with heading "Smtp exception was unhandled by user code" and in detail it says "Faliur sending mail". If I continued on browser it shows error page with these details:
An existing connection was forcibly closed by the remote host Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
protected void btnConfirm_Click(object sender, EventArgs e)
{
string _Message = GetAdminEmailMessage();
MailMessage message = new MailMessage();
SmtpClient smtp = new SmtpClient();
NetworkCredential mailAuthentication = new NetworkCredential("myaccount@gmail.com", "mypassword");
message.To.Add(new MailAddress("mc5678@hotmail.com"));
message.From = new MailAddress("myaccount@gmail.com");
message.IsBodyHtml = true;
message.Subject = "Local test email";
message.Body = _Message;
smtp.UseDefaultCredentials = false;
smtp.EnableSsl = true;
smtp.Port = 587;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Host = "smtp.gmail.com";
smtp.Credentials = mailAuthentication;
smtp.Send(message);
}
Can we send email form local host using gmail smtp? I am trying and getting error The operation has timed out. I am trying to send email from local host from last 3 days. It works fine if I send emails from my hosting server using gmail but it is not working on localhost. I have disabled firewall anti virus but even then unlucky. have u ever used gmail for sending emails from localhost (without any server involved) If it is possible.
protected void btnConfirm_Click(object sender, EventArgs e)
{
MailMessage message = new MailMessage();
message.To.Add("me@hotmail.com");
message.From = new MailAddress("xxxxxx@gmail.com");
message.Subject = "New test mail";
message.Body = "Hello test message succeed";
message.IsBodyHtml = true;
message.BodyEncoding = System.Text.Encoding.ASCII;
message.Priority = System.Net.Mail.MailPriority.High;
SmtpClient smtp = new SmtpClient();
smtp.EnableSsl = true;
smtp.Port = 465;
smtp.UseDefaultCredentials = false;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Host = "smtp.gmail.com";
smtp.Credentials = new NetworkCredential("xxxxxx@gmail.com", "**mypassword**");
try
{
smtp.Send(message);
}
catch (Exception ex)
{
throw ex;
}
}
i have this WCF application which is hosted as a windows service. This service has to download mails which have CSV attached to them from a pop3 account. After getting that CSV i have to delete that mail from the pop3 account so that it is not downloaded again. How can i do it?
View 1 RepliesHow to send a registration link in email upon new event creation? there has to be some ID associated with it so that when a new user clicks on registration link a page opens up with the specific event details..
View 1 RepliesPreviously I had thread Send Mail? That helps me to send mail through Gmail credential account. Now I want to send Email through my server (suppose my server name is [URL]) so what should I do?
View 3 RepliesWorking from home on an XP Machine, trying to configure IIS to send emails from Asp.Net via my broadband provider (BT).
Relay 127.0.0.1 enabled, so now errors are:The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.3 Client was not authenticated
Pertinent settings that I can see are (in IIS Default SMTP Virtual Server properties):
Access, Authentication (presumably app to IIS): Basic + Integrated Windows
(However Basic includes correct BT server smtp.btconnect.com -> suggests this is authentication relevant IIS to BT, not app to IIS)
Access, Relay: 127.0.0.1 added
Delivery, Outbound Security: (presumably IIS to BT) Basic Authentication
UserName: my.btusername@btconnect.com (tried with and without @domain)
Password: ***** per my account at Bt
Integrated Windows Authentication disabled
TLS Encryption NOT selected
---
I cannot see any other obvious candidates for authentication.
I presume model is Asp.Net App -> IIS (step 1) and IIS -> BT (step 2)
I presume Access, Authentication specifies step 1, and Delivery, Outbound Security handles step 2 - though why then does IIS recognise my bt server in step 1?