473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Email sent to deleted items

I'm using the following code to send emails:

<code>

public Boolean SendEmail(String _fromAddress, String _toAddress,
String _subject, String _message)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress(_fromAddress);
smtpClient.Host = "10.0.0.230";
smtpClient.Port = 25;
message.From = fromAddress;
message.To.Add(_toAddress);
message.Subject = _subject;
message.IsBodyHtml = true;
message.Body = _message;
smtpClient.Send(message);
return true;
}
catch
{
return false;
}
}

</code>

Nothing special or strange about that. The problem I've got is that
when the email gets sent to internal email addresses, the email ends
up the their 'Deleted Items' box. There's no rules sent up on either
Outlook (2003) or Exchange (2000) to move emails from one box to
another.

The _message string is the HTML returned from a webpage.

Can anyone shed any light or ideas on this problem?

TIA.

Jun 19 '07 #1
4 1707
Is it possible that there is a plugin of some sort (most likely to
detect spam) that is moving the item to Deleted Items on the Exchange server
side?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Code Monkey" <dl********@gmail.comwrote in message
news:11**********************@q69g2000hsb.googlegr oups.com...
I'm using the following code to send emails:

<code>

public Boolean SendEmail(String _fromAddress, String _toAddress,
String _subject, String _message)
{
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress(_fromAddress);
smtpClient.Host = "10.0.0.230";
smtpClient.Port = 25;
message.From = fromAddress;
message.To.Add(_toAddress);
message.Subject = _subject;
message.IsBodyHtml = true;
message.Body = _message;
smtpClient.Send(message);
return true;
}
catch
{
return false;
}
}

</code>

Nothing special or strange about that. The problem I've got is that
when the email gets sent to internal email addresses, the email ends
up the their 'Deleted Items' box. There's no rules sent up on either
Outlook (2003) or Exchange (2000) to move emails from one box to
another.

The _message string is the HTML returned from a webpage.

Can anyone shed any light or ideas on this problem?

TIA.

Jun 19 '07 #2
Absolutely no spam filters or similar on either the clients or server.
Only happens on one email address (sales@) which is received by 2
people. Other email address are fine.

Jun 19 '07 #3
Code Monkey wrote:
Absolutely no spam filters or similar on either the clients or server.
Are you really really really sure?
Only happens on one email address (sales@) which is received by 2
people. Other email address are fine.
What email client are they using? Is it possible that it filters spam?

Mozilla Thunderbird for example has a built in spam filter.

--
Göran Andersson
_____
http://www.guffa.com
Jun 19 '07 #4
And I quote from my original post, "...There's no rules sent up on
either
Outlook (2003) or Exchange (2000) to move emails from one box to
another. ..."

I've checked this personally, as has the IT manager.
Jun 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Oliver Spiesshofer | last post by:
Hi, is there a script out there that can send RSS feeds to a given email account? I have search the usual suspects (google, SF, FM, hotscripts) but could not find anything thanks Oliver
3
by: Harry | last post by:
Hi, Can anyone help. I have a asp.net page (c#), with two panels, both of which have asp:textboxes on. When I press the first button, the second panel shows fine. When I press the button in...
5
by: vagzone | last post by:
I used the following code sending email on the server. I got no error messages but I never received any email.. System.Web.Mail.SmtpMail.Send("someone@some.com","me@some.com", "test", "test") ...
6
by: Tarren | last post by:
Hi: I have an aspx page that takes a dataset, makes the datagrid, and displays it. The new thing I have to do is take this same output and send it as an email. Is there an easy way to do...
0
by: Mike | last post by:
Hi, This question how to check that email was sent correctly. At VB6 when I used EMail Controls for sending email I could check the result of sent email - checking the Sent Items folder at my...
2
by: JohnB | last post by:
hi I am using System.Web.Mail.MailMessage to send email. Is there any way to keep the email to "Sent Items" Folder?? I use Microsoft Outlook as my email tool. Thanks
2
by: tk | last post by:
Hello, At the moment im building a database for a driving school, I have a customer field, with email address as an attribute. I dont know much about macros in access but once the customer has...
2
by: aknigam1 | last post by:
Hi, I have read inbox mail from POP and now I want to read sent Items emails and Deleted emails from POP3 using the .NET. Pls help me. Thanks
5
by: ibid | last post by:
hi every one just wondering if anyone could help sorry if i seem abit dumb but im a newbie to it all ive got to asign a mail program on my auction site in the config.pl files (i think this is the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.