Click here to Skip to main content
15,902,276 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 0:04
hkchauhan19-Jun-07 0:04 
I am building an asp.net application in which i am sending mails to various people..But the problem is that the mail are going into spam or bulk folders.
Please provide me the right way..or give me correction in my code.. i am giving code which i am using in a console application..

MailMessage newMail = new MailMessage();

newMail.To = "abc@gmail.com"
newMail.From = "panel@rebuscode.com";
newMail.Cc = "";
newMail.Bcc = "";
newMail.BodyFormat = MailFormat.html;
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "mail.rebuscode.com");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "25");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "pane@rebuscode.com");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password");

newMail.Subject = "Activate your account.";
newMail.Body = str;
SmtpMail.SmtpServer="mail.rebuscode.com";
SmtpMail.Send(newMail);

hiiiiii

AnswerRe: mail going to spam or bulk folder..plz help.. Pin
Sylvester george19-Jun-07 0:07
Sylvester george19-Jun-07 0:07 
GeneralRe: mail going to spam or bulk folder..plz help.. Pin
wEb GuRu...19-Jun-07 0:41
wEb GuRu...19-Jun-07 0:41 
GeneralRe: mail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 0:49
hkchauhan19-Jun-07 0:49 
AnswerRe: mail going to spam or bulk folder..plz help.. Pin
N a v a n e e t h19-Jun-07 2:48
N a v a n e e t h19-Jun-07 2:48 
GeneralRe: mail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 3:16
hkchauhan19-Jun-07 3:16 
AnswerRe: mail going to spam or bulk folder..plz help.. Pin
hkchauhan19-Jun-07 18:28
hkchauhan19-Jun-07 18:28 
QuestionAsp.net Website Hosting Pin
ShuklaGirish18-Jun-07 23:55
ShuklaGirish18-Jun-07 23:55 
AnswerRe: Asp.net Website Hosting Pin
Sylvester george19-Jun-07 0:06
Sylvester george19-Jun-07 0:06 
QuestionSession_End not firing in normal run [modified] Pin
Tahir Saleem18-Jun-07 23:48
Tahir Saleem18-Jun-07 23:48 
AnswerRe: Session_End not firing in normal run Pin
ToddHileHoffer19-Jun-07 1:22
ToddHileHoffer19-Jun-07 1:22 
Questionremember me feature in asp.net 1.1 Pin
deepalititi18-Jun-07 23:46
deepalititi18-Jun-07 23:46 
AnswerRe: remember me feature in asp.net 1.1 Pin
kumarjammula19-Jun-07 0:08
kumarjammula19-Jun-07 0:08 
GeneralRe: remember me feature in asp.net 1.1 Pin
deepalititi19-Jun-07 2:11
deepalititi19-Jun-07 2:11 
QuestionASP.NET+Javascript [modified] Pin
Bajrang Singh18-Jun-07 23:43
Bajrang Singh18-Jun-07 23:43 
AnswerRe: ASP.NET+Javascript Pin
RepliCrux19-Jun-07 0:44
RepliCrux19-Jun-07 0:44 
GeneralRe: ASP.NET+Javascript Pin
RepliCrux19-Jun-07 12:39
RepliCrux19-Jun-07 12:39 
AnswerRe: ASP.NET+Javascript Pin
Christian Graus19-Jun-07 0:57
protectorChristian Graus19-Jun-07 0:57 
GeneralRe: ASP.NET+Javascript Pin
Bajrang Singh19-Jun-07 2:12
Bajrang Singh19-Jun-07 2:12 
QuestionConfiguring application in 3-tier Pin
Sylvester george18-Jun-07 23:41
Sylvester george18-Jun-07 23:41 
QuestionGoogle Base API Pin
wEb GuRu...18-Jun-07 23:30
wEb GuRu...18-Jun-07 23:30 
Questionrefreshment of page Pin
saravanan0518-Jun-07 23:09
saravanan0518-Jun-07 23:09 
AnswerRe: refreshment of page Pin
wEb GuRu...18-Jun-07 23:25
wEb GuRu...18-Jun-07 23:25 
AnswerRe: refreshment of page Pin
MaheshSharma19-Jun-07 0:10
MaheshSharma19-Jun-07 0:10 
Questionusercontrol caching Pin
marky77718-Jun-07 23:07
marky77718-Jun-07 23:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.