To Send Mail To Remind The Users That Have Not Activated Their Accounts?

Apr 7, 2010

I am trying to send mail to remind the users that have not activated their accounts. But I keep getting the error:

Transaction failed. The server response was: The message was rejected because it contains prohibited virus or spam content

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Mail.SmtpException: Transaction failed. The server response was: The message was rejected because it contains prohibited virus or spam content

My code is below:

Code:

"Hey, " + sUsername + "

" +
"This is a friendly reminder that you have not verified your E-mail address.

" +
"If you are still interested "+
"in joining our site, please click on the link below to " +
"confirm your E-mail address.

" +
"http://" + Request.Url.Host + "/verifyemail.aspx?id=" + sUserID + "

" +
"P.S: If you have already verified your E-mail address, please disregard this reminder.";

View 16 Replies


Similar Messages:

Created Automatic Mail After Registration But Some Accounts Not Receiving Mail?

Jun 15, 2010

I don't know if it has to be with my application but the thing is that I created a registration form, when the user registers an automatic mail from my mail account at my hosting site is send to the mail account the user input.

The code is working I have tested it with a Hotmail and Yahoo account but Gmail is not receiving.

It is important to say that Hotmail and Yahoo receive the email at the junk mail folder, but Gmail not receives it in any folder. I check my mail account for bouncebacks but there is no problem.

If I change the code to send mails from my gmail account no matter what mail account the user inputs it will receive the mail. I've already contacted my hosting site support but they say they can't find any problem.

I've already waited 48 hours because maybe gmail account would take longer to receive the email but I haven't received it.

Here is my send email code:

[Code]....

View 2 Replies

Data Controls :: How To Send Mail (email) To Multiple Users

May 7, 2015

How I can send mail to multiple destinations.

I am using this code....

using (MailMessage mm = new MailMessage("sender@gmail.com", txtEmail.Text)) {
mm.Subject = "Account Activation";
string body = "Hello " + txtUsername.Text.Trim() + ",";
body += "<br /><br />Please click the following link to activate your account";
body += "<br /><a href = '" + Request.Url.AbsoluteUri.Replace("CS.aspx", "CS_Activation.aspx?ActivationCode=" + activationCode) + "'>Click here to activate your account.</a>";

[Code] ....

View 1 Replies

Security :: Allow Admin Users To Access Basic Users Accounts?

Aug 26, 2010

Allow Admin Users to Access Basic Users Accounts?

View 4 Replies

To Send Messages To Facebook User Accounts?

Sep 27, 2010

actullay my requirement is i need send messages to facebook user accounts using my web application(Asp.net,C#.Net).i have Users's facebook id and there there facebook Keys.

View 2 Replies

Best Approach To Allowing Users To Create Accounts And Allow Them To Login Later

Aug 27, 2010

What is the best approach to allowing users to create accounts and allow them to login later?am thinking of passing all the user information into an attached SQL database, so that when users login l can lod their profilee and allow them to add data on their profile

View 1 Replies

Email - How To Send Mail From Google / Yahoo Or Other Mail Domains?

Mar 3, 2011

I have a "Contact Us" page where in users will give in their email id and a query and on submitting the form, web admin would receive that email.

If I configure their email id to "from" MailAddress and send the mail, it will fail to do so if the ID is from popular mail domains like gmail or hotmail but would work with other unpopular or non existent domains like me@abcxyzmail.om without any credentials provided!

It worked with gmail after I configured SMTP and network credentials properly. The aim is to let the admin of my website who receives the email be able to hit the reply button in his mail client and see the "to" field populated with the "from" field filled in "contact us" page. Is there any proper way to do this or a tip or trick to accomplish it.

[Code]....

View 4 Replies

How To Configure Mail For Local Network And Send Mail ?

Mar 22, 2010

We at Our company having our own local network in which consists around 20 users. We do not have Internet connections. Now I've created an asp.net website to share the data among the different users.How to create unique mail ids for each user.

View 2 Replies

Send Vefication Mail On User's Mail Account?

Jan 15, 2011

want to send verification mail on user's mail account .

and in that mail i want to send one link for completing regestration process. for this process what can i do...???

View 4 Replies

Configuration :: Got An Error While Sending Mail From Server / Any Authentication Required To Send Mail From Server?

Apr 29, 2010

I got an error while sending mail from server, i am using this code:

public static void SendMail(string subject, string body, string from, string to)
{
try

[code]...

This code is working fine in my local system but when i upload it on server then it gives this error. From the last 1 year it was working fine but from last few days it gives me above said error, please suggest me is there any authentication required to send mail from server (my hosting plan is with 1and1.com)

View 6 Replies

Send Mail To Other Server (application And Mail Server On Different Locations) - How To Queue

Jan 10, 2011

I am making mailing system and i am using SQL MAIL service and i need to send mail to other server(application and mail server on different locations).so i some how i need to use queue systems. for example if i send 5000 mail then it should go in batch of 500-500. if i write code in core vb.net then user need to stay untill all batches complete. so some how i need a system by which user just click and mail address fetching and sending process works in background as well send in batch.

View 4 Replies

Send Mail To Specified Mail Id?

Feb 13, 2010

i m using this class for mail sending

using System;

View 2 Replies

Web Forms :: Send Net.mail Body As Web.mail Body?

Mar 30, 2010

In asp i tryed to send mail with images. so i used AlternateViews and LinkedResources from System.net.mail class. before sending the mail i would like to add email.Fields.Add [URL] here System.net.mail class doesn't contain Fields. System.web.mail only have Fields.

View 2 Replies

Cannot Send Mail Through VB.net

Oct 25, 2010

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.47.109:25

View 6 Replies

How To Send Mail Through Bcc In C#

Feb 1, 2011

how can i send mail through bcc in asp.net(c#)..?

View 2 Replies

How To Send Mail Using C#?

Mar 1, 2010

i want to send mail to any email address, how to do that using C#. i am working on local host.

View 3 Replies

Cannot Send Email Through Aol Mail

Feb 7, 2010

sending mail using asp.net to the aol domain? My users complain either they don't get the mail or they go to the spam box and it doesn't go to the user's mail quickly. Is there a trick to this for aol? It goes to yahoo or gmail really quick

View 8 Replies

Send Mail With An Attachment?

Mar 3, 2011

[Code]....

send a mail with an attachment in asp.net

View 1 Replies

Send Mail From Application?

Dec 8, 2010

I have a requirement where i need to send mail from my application. I used the following code to send mail

[Code]....

The above code is neither working in my local system not showing error, but after the application has deployed in remote server(this is shared server) the code is working. What might be the problem?

View 7 Replies

C# - SendAsync() Does Not Send Mail Always?

May 15, 2010

I am not able to send asynchronous mail in asp.net using c# .Though my code is correct as If I try to send mail 10 times then only of 1 time it is successful,rest of 9 times there is no error message but mail is also not sent at its destination.I am sending data in mail attachment. I want to send a file upto 5MB in size .

View 1 Replies

Web Forms :: Trying To Send Emails Using Net.mail

Apr 12, 2010

I'm trying to send e-mails using net.mail. It works well until an e-mail from the list to send be invalid. if one is invalid it stops the application and i don't wanna this... if the e-mail is invalid it just send to the next and go ahead.

View 3 Replies

Web Forms :: How To Send Mail To Many Persons

Jan 14, 2010

i want to send mail to so many persons i used this code

MailMessage
mail.From = txt_from.Text.Trim();
mail.To = txt_to.Text.Trim();
mail.Cc = txt_cc.Text.Trim();
mail.Bcc = txt_bcc.Text.Trim();
mail.Subject = txt_subj.Text;
mail.Body = ftb_body.Text;
mail.BodyFormat =
mail = new
MailMessage();if (txt_cc.Text.Trim().Length != 0)if
(txt_bcc.Text.Trim().Length != 0)MailFormat.Html;SmtpMail.SmtpServer
= "localhost";
//your real server goes here
SmtpMail.Send(mail);

now i wnat to send so may perons

but i will give all mail id in to address only, i will send one by one.

View 4 Replies

How To Send Emails By Using System.Net.Mail

Aug 31, 2010

How to send emails by using System.Net.Mail [top]

CODE-BEHIND:

[code]....

i m sending mail by this method but it generate exception"SMTP EXCEPTION NOT HANDELED BY USER"

and in details it shows as:"base {System.Exception} = {"Failure sending mail."}

[System.Net.Mail.SmtpException] = {"Failure sending mail."}
StackTrace = " at System.Net.Mail.SmtpClient.Send(MailMessage message)
at ExptMail.Button1_Click(Object sender, EventArgs e) in f:\dh\websites\ExptMail.aspx.cs:line 32""

View 1 Replies

New Site IIS / Send Mail To Gmail?

Sep 7, 2010

i have crated a master page that is a mailbox and now i want to sent mails from this local to a gmail or another server.

View 1 Replies

Cannot Send Mail In Contact Information With C#.net

May 20, 2010

protected void Button2_Click(object sender, EventArgs e)
{
string ad = TextBox1.Text;
string firma = TextBox2.Text;
string mail = TextBox3.Text;
string tel = TextBox4.Text;
string tel2 = TextBox5.Text;
string fax = TextBox6.Text;
string fax2 = TextBox7.Text;
string web = TextBox8.Text;
string mesaj = TextBox9.Text;
try
{
[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved