15,887,083 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 Javascript questions
View Visual Basic questions
View Python 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 Member 13427032 (Top 28 by date)
Member 13427032
20-Feb-18 6:03am
View
thanks for the information and for the reply
Member 13427032
17-Feb-18 14:23pm
View
Deleted
try to add
something like this
<!DOCTYPE html>
<title>Medgate IT
<asp:ContentPlaceHolder ID="head" runat="server">
Member 13427032
16-Feb-18 13:23pm
View
the user will check the box. i did not save on the DB because im getting the data on the EWS. The objective of this project to get all of the bounce back emails and in order to determine the read emails i add the checkbox but every time the page reload the check on the checkbox disappear. thanks for the reply
Member 13427032
16-Feb-18 12:58pm
View
yes sir the check will remain on the checkbox. can you help me with my code?
Member 13427032
15-Feb-18 13:13pm
View
thanks for the information.
Member 13427032
6-Jan-18 9:32am
View
this solution is working thank you so much sir
Member 13427032
6-Jan-18 7:35am
View
thanks for the solution. I'll bbe working on that
Member 13427032
5-Jan-18 13:56pm
View
can i add the sting matchingMessage to the List<item>? because my on the
dt.Rows.Add(item.Subject, item.DisplayTo, item.DateTimeCreated, item.Body, email.matchingMessagePublic);
to display the result on the gridview on the email.matchingMessagePublic it display only the same record so i tried to add the matchingMessage to the List<item> so that i can display the correct result for now i declare a public string matchingMessagePublic to the emailMethods class. Cna you help me with my code please
Member 13427032
4-Jan-18 10:10am
View
Hi Sir Good day i Added a matchmaking string to display the errors from the email how can i add the matchmaking string to the item to display it to the gridview thanks.
here's my code
findResults = service.FindItems(WellKnownFolderName.Inbox, compoundFilter, view);
foreach (Item item in findResults.Items)
{
if (findResults.ToString() != "")
{
EmailList.Add(item);
item.Load();
string Sender = item.DisplayTo;
string Subject = item.Subject;
string DateCreated = item.DateTimeCreated.ToString();
//Display the EmailBody
PropertySet itemProperty = new PropertySet();
itemProperty.RequestedBodyType = BodyType.Text;
itemProperty.Add(ItemSchema.Body);
PropertySet FindItemPropertySet = new PropertySet(BasePropertySet.IdOnly);
view.PropertySet = FindItemPropertySet;
PropertySet GetItemsPropertySet = new PropertySet(BasePropertySet.FirstClassProperties);
GetItemsPropertySet.RequestedBodyType = BodyType.Text;
if (findResults.Items.Count > 0)
{
service.LoadPropertiesForItems(findResults.Items, GetItemsPropertySet);
foreach (Item Item in findResults.Items)
{
var EmailBody = Item.Body.Text;
var pattern = new[] { "Remote Server returned '554 5.4.4 SMTPSEND.DNS.NonExistentDomain; nonexistent domain",
"Either there are no alternate hosts, or delivery failed to all alternate hosts",
"Remote Server returned '550 No Such User Here",
"5.2.3 smtp;550 5.2.3 RESOLVER.RST.SendSizeLimit.Org; message too large for this organization",
"5.1.10 smtp;550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient user@contoso.com not found by SMTP address lookup",
"Remote Server returned '550 4.4.7 QUEUE.Expired; message expired'",
"Remote host said: 550-5.1.1 The email account that you tried to reach does not exist",};
//var found = pattern.Any(p => EmailBody.Contains(p));
string matchingMessage = String.Empty;
var found = pattern.Any(m => {
var match = EmailBody.Contains(m);
if (match)
matchingMessage = m;
return match;
});
thanks in advance sir
Member 13427032
3-Jan-18 7:47am
View
i set that the page will refresh every 1 min for the new bounce back email will appear on the gridview and I want to to have on my program that the file will appear only for 24 hours and after that the file will automatic hide on the gridview. Thanks
Member 13427032
28-Dec-17 11:12am
View
hi sir do you know how to allow the <> on the textbox?
thanks in advance
Member 13427032
28-Dec-17 11:08am
View
yes sir i check that there was a <> on the textbox. ill research on how to allow the <> on the textbox and thanks for the information.
Member 13427032
28-Dec-17 10:46am
View
and also it showing on the page that i need to add "Debug=true" something like this <%@ Page Language="C#" Debug="true" %> or <configuration>
<system.web>
<compilation debug="true"/>
but still its not working
Member 13427032
14-Dec-17 12:02pm
View
i mean what would you suggest to improve my skills in programming
Member 13427032
14-Dec-17 12:01pm
View
Thank you so much for the help, im just new here web developing hehehe. Can i have a suggestion to improve my skill on web developing? thank you so much and God Bless
Member 13427032
14-Dec-17 11:06am
View
when i tried to add EmailList.Add(item); and also update on this (Item item in email.EmailList) i got an erro cannot convert from 'Microsot.Exchange.WebServices.Data.Item' to string
Member 13427032
10-Dec-17 10:42am
View
ok thanks i'll try that.
Member 13427032
10-Dec-17 10:34am
View
it just like rotating on the first record and it not just going up on the other records.
Subject Email Receiver Date and Time Sent Date and Time Received
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
Undeliverable: crm fdgdfgfdgf@fsfa.com 11/30/2017 9:15:11 PM 11/30/2017 9:15:11 PM
that is showing on the gridview and that is 20+ in total
Member 13427032
10-Dec-17 10:29am
View
it count all of the result when i debug it and it shows more than 20+ rows with the same record and that is the first record.
Member 13427032
4-Nov-17 8:02am
View
Thank you so much your awesome.
Member 13427032
3-Nov-17 15:58pm
View
i have a textbox that is multiline and when i push the enter button it shows the error message (Special Characters not allowed) can you help me when pressing the enter it will add a new line on the textbox. Please
Member 13427032
3-Nov-17 15:05pm
View
hi sir good day, i add keyCode == 13 but the enter still is not working. and i check on the ASCII code the value of the enter is not there. can you help me about the ENTER key
Member 13427032
29-Oct-17 12:35pm
View
Deleted
just because i get email on the webconfig, the email for the sender and also for the recipient. Thanks for the info i'll try that.
Member 13427032
29-Oct-17 11:38am
View
i did not set-up yet the connection on the dropdownlist. i try on the appsetting
<add key="ReopenReceiver" value="Sample@gmail.com"/>
<add key="ReopenReceiver" value="Sample2@gmail.com"/> and it get only the Sample2@gmail.com but i selected the first one
Member 13427032
27-Oct-17 8:07am
View
Thank you so much this code is working and i will be adding a validation code in c#. Thanks again
Member 13427032
5-Oct-17 14:47pm
View
And still after i click the download(linkbutton) and i click another button it still download the file. Can you help me please to fix my codes.
Member 13427032
4-Oct-17 10:17am
View
Is there a way to prevent downloading the file when clicking the other button? or do i to include the download code on the same page?
Member 13427032
27-Sep-17 10:57am
View
Hello Good Day here's my code to upload the file.
protected void btnUpload_Click(object sender, EventArgs e)
{
string fileName = "";
string uploadPath = WebConfigurationManager.AppSettings["SubPic"].ToString();
if (FileUpload.HasFile)
{
string fileExtension = Path.GetExtension(FileUpload.PostedFile.FileName);
fileName = "Comment-" + Issue.ReportedOn.ToString("yyyy-MM-dd_HH-mm-ss") + fileExtension;
FileUpload.SaveAs(uploadPath + "\\" + System.IO.Path.GetFileName(FileUpload.FileName));
Label1.Text += "Location of the file: " + uploadPath + "\\" + System.IO.Path.GetFileName(FileUpload.FileName);
}
and i dont know how to download the file using the linkbutton.
Thanks for the help
Show More