16,018,650 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by iyalarasi (Top 28 by date)
iyalarasi
24-Oct-12 0:27am
View
Actually with this code,I can't get any error,I have mail in my outbox in outlook, and it doesn't send mail to inbox. Is that necessary to have internet connection in emulator to send mail?
iyalarasi
22-Oct-12 8:02am
View
but in,windows mobile applicatio I am not giving any smtp server name, then what is the connection in between that.
Actually I am creating mobile application, and i am using the folloing code to send mail from my application.
since I am using microsoft.windowsmobile.pocketoutlook I am not able to use smtp in that.
My code is,
private void btnsubmit_Click(object sender, EventArgs e)
{
try
{
totleave();
OutlookSession ol = new OutlookSession();
EmailMessage em = new EmailMessage();
//Recipient s1 = em.From;
//Console.WriteLine(s1);
Recipient r = new Recipient("iyalarasi.r", "iyalarasi.r@winxsolutions.com");
em.To.Add(r);
em.Subject = "Request For Leave";
em.BodyText =txtename.Text +"("+txteno.Text+ ")" + "request"+ cb1.SelectedItem.ToString()+" leave from "+dtpfrom .Value .ToShortDateString ()+"to"+dtpto .Value.ToShortDateString () + "\n The reason is" + txtreason.Text;
EmailAccount ea = ol.EmailAccounts[0];
ea.Send(em);
// em.Send("iyalarasi.r");//Account name in outlook
//MessagingApplication.Synchronize("iyalarasi.r");
MessageBox.Show("mail sent");
Form2 f2 = new Form2();
f2.Show();
f2.lblmsg.Text = "You have Applied Leave";
}
catch (PocketOutlookException ex)
{
lblmsg1.Text = ex.ToString();
}
catch (Exception e1)
{
lblmsg1.Text = e1.ToString();
}
}
how can I give smtp server name in that,It doesn't support system.net.mail namespce.
Please help me.
iyalarasi
22-Oct-12 3:29am
View
sorry for asking too many questions?
iyalarasi
22-Oct-12 3:29am
View
now I am run this application,and now i got mail in mobile->outlook->outbox application. but i can't receive mail in my inbox in that mobile platform.
And I have one more doubt that,If I send mail from my mobile application, can we see that in my computer?
iyalarasi
22-Oct-12 3:13am
View
I use same code and confiure my mail account in mobile device.now In my outbox in mobile device contain messages, but in my inbox there is no msg is available.
And I have one doubt that is that we can't send mail from mobile to computer?
Please clarify my doubts.
sorry for asking too many questions.
iyalarasi
22-Oct-12 0:51am
View
It reqiures microsoft.phone.tasks dll reference. But i didn't have that.It tells to install windows sdk7.0 platform.
what I can do?
iyalarasi
22-Oct-12 0:17am
View
did you run this application in windows mobile 6.5.3 professional edition? In which platform did you deploy this application? Please tell me.
It is not working for me.
Is that necessary to have outlook in mobile platform to run this application?
iyalarasi
19-Oct-12 4:10am
View
I have changed coding as,
private void btnsubmit_Click(object sender, EventArgs e)
{
try
{
OutlookSession ol = new OutlookSession();
EmailMessage em = new EmailMessage();
Recipient r=new Recipient ("iyalarasi.r", "iyalarasi.r@winxsolutions.com");
em.To.Add(r);
em.Subject = "Request For Leave";
em.BodyText = txteno.Text + "request" + cb1.SelectedItem.ToString() + "leave for" + txtreason.Text;
EmailAccount ea = ol.EmailAccounts[0];
//ea.Send(em);
em.Send("iyalarasi.r");//Account name in outlook
MessagingApplication.Synchronize("iyalarasi.r");
MessageBox.Show("mail sent");
Form2 f2 = new Form2();
f2.Show();
f2.lblmsg.Text = "You have Applied Leave";
}
catch (PocketOutlookException ex)
{
lblmsg1.Text = ex.ToString();
}
catch (Exception e1)
{
lblmsg1.Text = e1.ToString();
}
}
In that it show error as invalid account name in catch. but the Account name I have entered is correct
iyalarasi
19-Oct-12 3:14am
View
I have seen this.But my doubt is that we need to run this application only in pocket pc or windows mobile device professional edition 6.5.3?
Because while i run this in pocket pc in my outbox mail is there.
iyalarasi
19-Oct-12 2:24am
View
I gave that but in error it shows Incorrect account name.
don't know what to do.Please give some link to find that.
iyalarasi
19-Oct-12 1:35am
View
can't understand.
How to check my firewall.
I didn't configure any firewall settings.
iyalarasi
12-Oct-12 2:24am
View
Now my application is working, without I made any modification in it.
Thank you.
iyalarasi
12-Oct-12 0:11am
View
Thank you very much for your kind information.After I am got approval for this, again I will post my next level concepts.
iyalarasi
10-Oct-12 5:49am
View
ok. Let me go through that one also.
iyalarasi
10-Oct-12 5:47am
View
sure. My concept is after employee submit leave req form, the sms or mail has been sent to admin and the respective higher auhtority. and at the same time if he approves the leave again sms has been sent to the corresponding employee.
Is it fine? can you tell me some more ideas please?
iyalarasi
10-Oct-12 0:32am
View
I decided that I acn create a web application, but it is also accseeible from mobile phone also.
Is It possible to develop such an application.
Please suggest me, so I can further go on with that.
Thanks in advance.
iyalarasi
10-Oct-12 0:28am
View
ok. But it is mentioned in w3school as one of the reqirements to develop mobile application.
iyalarasi
9-Oct-12 6:56am
View
Thank you, I have already studied those concepts.now only i got it that that i don't have windows 2000 professional server.
Thank you once again.
iyalarasi
9-Oct-12 0:24am
View
This is really very helpful. I will think further to add more features. And let me give my outline very soon.
Thank you once again.
iyalarasi
8-Oct-12 7:23am
View
Thank you. is that onion patteren or any other patteren can replace mvc?
iyalarasi
5-Oct-12 0:31am
View
Thank you. since I want to list out latest development lifecycle name, I don't have enough time to read every articles or concepts.
So Please give me name of latest development lifecycle in .net?
iyalarasi
5-Oct-12 0:28am
View
ya. I go through msdn website also. but I want to tell decision wirhin 3 days. I am so confused which one to read? which one is best? If u suggest me some specific topics or articles it would be more better.
iyalarasi
4-Oct-12 5:17am
View
I am not using ip address in appsettings in web.config,and I can't give name attribute to security tag.
iyalarasi
4-Oct-12 1:35am
View
Thank you so much. but some of lines show error.
ObjTemp = Strings.Split(ConfigurationManager.AppSettings("RestrictIPAddress"), "to");
if (Information.UBound(ObjTemp))
which namespace is used to use Strings and Information in asp.net?
Please Help me?
iyalarasi
4-Oct-12 0:07am
View
yes. I want to check user ip within that range or not?
iyalarasi
3-Oct-12 8:20am
View
but I want that ipaddress list in webconfig file only?
I want to split configurationmanager.appsettings["RestrictIPAddress"].split();
It may be done in vb.net as
Split(ConfigurationManager.AppSettings("RestrictIPAddress"), "to")
but I want this to be done in an c# coding.
Anyway Thank you very much.
iyalarasi
3-Oct-12 5:48am
View
I am using windows xp. so please suggest me site that configure ipsecurity in iis with windows xp model.
iyalarasi
3-Oct-12 5:33am
View
This page only show the procedure for windows 7 and vista. I am using windows xp. can you suggest some more links? This is very useful. Thank you very much.
Show More