473,774 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

e-mail not going to "inbox" rather going to the "Junk Mail" box

i have facility in my website which sends an e-mail to the cleint's
inbox..... i am getting a problem when ever i sends an e-mail.. i tried with
Hotmail and Yahoo, e-mail goes to the "Junk Mail" folder not the actual
inbox....

how i can get e-mail sent the clients inbox not in their "Bulk" or "Junk
Mail" box
thanks

my send e-mail page C# codes are below:
Server.ScriptTi meout = 1000;

SmtpMail.SmtpSe rver = "127.0.0.1" ;
MailMessage mail = new MailMessage();
mail.To = this.TextBox2.T ext;
mail.From = this.TextBox4.T ext;
mail.Subject = this.TextBox1.T ext + " recommends this eOman.gov.om page";
mail.BodyFormat = MailFormat.Html ;

string strBody = this.TextBox1.T ext + "<html><bod y>My Message text starts
from here" +
" <br><br><font color=\"black\" ><a href='" + this.TextBox3.T ext + "'>" +
this.TextBox3.T ext + "</a></font>" +
" <br><br><font color=\"black\" ><hr></font>" +
" <br><font color=\"black\" >My Message ends here.</font></body></html>";

mail.Body = strBody;

try
{
SmtpMail.Send(m ail);
Label4.Text="Th e e-mail has been sent to: "+ mail.To;
}
catch(System.Ex ception ex)
{
Response.Write( ex.Message);
}
Mar 15 '08 #1
1 3057
This is entirely up to the recipient's ISP, which thinks you are a spammer.
Are you a spammer?


"TalalSalee m" <Ta*********@di scussions.micro soft.comwrote in message
news:F4******** *************** ***********@mic rosoft.com...
>i have facility in my website which sends an e-mail to the cleint's
inbox..... i am getting a problem when ever i sends an e-mail.. i tried
with
Hotmail and Yahoo, e-mail goes to the "Junk Mail" folder not the actual
inbox....

how i can get e-mail sent the clients inbox not in their "Bulk" or "Junk
Mail" box
thanks

my send e-mail page C# codes are below:
Server.ScriptTi meout = 1000;

SmtpMail.SmtpSe rver = "127.0.0.1" ;
MailMessage mail = new MailMessage();
mail.To = this.TextBox2.T ext;
mail.From = this.TextBox4.T ext;
mail.Subject = this.TextBox1.T ext + " recommends this eOman.gov.om page";
mail.BodyFormat = MailFormat.Html ;

string strBody = this.TextBox1.T ext + "<html><bod y>My Message text starts
from here" +
" <br><br><font color=\"black\" ><a href='" + this.TextBox3.T ext + "'>" +
this.TextBox3.T ext + "</a></font>" +
" <br><br><font color=\"black\" ><hr></font>" +
" <br><font color=\"black\" >My Message ends here.</font></body></html>";

mail.Body = strBody;

try
{
SmtpMail.Send(m ail);
Label4.Text="Th e e-mail has been sent to: "+ mail.To;
}
catch(System.Ex ception ex)
{
Response.Write( ex.Message);
}

Mar 15 '08 #2

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

Similar topics

2
1868
by: Tim M | last post by:
Hi Does anyone know if its possible to create and email HTML forms. Email recipients would then input information to these forms in the same way that they would on a web page. Pressing the submit button would mail the form back, after which it would be separately submitted to an ASP page on the web server for processing. The main reason for this is so we don't have all the
117
11894
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
24
7131
by: Arno R | last post by:
Hi all, I have a client with several shoe-shops. Customers can leave their email-address if they want to be notified when there is a sale. Input is validated with instr() I am checking for @ and . (required) and also checking for spaces (not allowed). But: A LOT (5-10%) of the addresses still are wrong; (provider doesn't exist) or email-address not valid (anymore). When sending bulk-mail its a nasty problem to get the false addresses...
3
2858
by: Siv | last post by:
Hi, A little while ago I wrote a small program that allowed the user to view products from a database. The database holds the details of the products which can be viewed via a form and additionally pictures of the product are stored in an images subfolder and the database holds the file name of the relevant picture. The user can then click a button to display the picture in a pop-up window and also another button to email the potential...
8
1800
by: Liam.M | last post by:
Hey guys.... I need to find a way to loop through all of my records in the database ( so essentially query the database) based on a Date Field ("DueDate") and if any record falls within 2 months of this date, then Run a Command I have already written that will send an email to my specified person. I already have the email side of things "down pat" BUT I just need to automate this process. Any suggestions?
0
1137
by: James | last post by:
Using XML and the HttpWebRequest object, I'm easily able to authenticate an exchange user behind the scenes and retrieve a list of emails and the corresponding fields. For whatever sets of reasons, undeliverable email has something funky going on with it and I can't read the actual body of the email. What I'm really trying to do is implement a tracking system that will track: Number of emails sent out (easy) Number of emails received...
9
2944
by: rvj | last post by:
Ive come a cross another issue when trying to convert CDO VB to JS The basic send generated the SendUsing configuration is invalid which I understand means I have to specify the smpt server (amongst other things)using the configuration object ********************************** Set objConfig = Server.CreateObject("CDO.Configuration") objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort
2
1465
by: Torsten Bronger | last post by:
Hallöchen! I thought that with the following code snippet, I could generate a MIME email stub: #!/usr/bin/env python # -*- coding: utf-8 -*- from email.MIMEText import MIMEText from email.Generator import Generator import sys
1
589
by: akuva | last post by:
I have to send more than 100s of email using a php code if i use mail function whether it will be sent to spam or inbox. If it is sent to spam which is the other way to send mass email from php. i have tried to sent email to 4 to 5 email ids it is going for inbox only but i have a doubt if i send it to more than 100 email id it may go for spam
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.