Sending Email from web page-send.objmm error

when icomile the code th folowing error come .I have downloaded the code 
from
http://www.4guysfromrolla.com/webtech/080801-1.shtml .and run it but it give
me followin error .
******************************************************
The "SendUsing" configuration value is invalid.
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.Runtime.InteropServices.COMException: The
"SendUsing" configuration value is invalid.

Source Error:

Line 41:
Line 42: 'Now, to send the message, use the Send method of the SmtpMail
class
Line 43: SmtpMail.send (objMM)
Line 44:
Line 45:

Source File: c:\inetpub\wwwroot\sendmailthink\WebForm1.aspx Line: 43
0
mitatasp
7/28/2005 6:43:30 AM
asp.net.getting-started 91979 articles. 3 followers. Follow

2 Replies
1144 Views

Similar Articles

[PageSpeed] 35

hy..

check this point.
moreover,
check if the Microsoft SMTP Service is turned on. To do this either open the Internet Services Manager directly or open Computer Management and Navigate to Internet Information Services -> Default SMTP Virtual Server and checkout if the button with the 'play' icon on it is disabled, that means it is already started

Yes [Y]
0
swastikagaur
7/28/2005 7:33:18 AM
 i got folloing error   now wha ti have to do ?
***********
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


How can i change it and make upload the send mail from web success fuly ...
mit
<swastikagaur> wrote in message news:1002285@forums.asp.net...
hy..

check this point.
moreover,
check if the Microsoft SMTP Service is turned on. To do this either open the Internet Services Manager directly or open Computer Management and Navigate to Internet Information Services -> Default SMTP Virtual Server and checkout if the button with the 'play' icon on it is disabled, that means it is already started

Yes <img src=" src="/emoticons/emotion-21.gif">


http://forums.asp.net/1002250/ShowPost.aspx#1002285

0
mitatasp
7/30/2005 6:46:29 AM
Reply:

Similar Artilces:

Sending Email Through Web Page won't send to internal addresses
This is a head scratcher. I have a process that sends emails to specific people after an action has been performed on the page. This works perfectly as long as the email addresses are to external accounts (hotmail etc...). Here is my code: Dim mailMessage As System.Web.Mail.MailMessage mailMessage = New System.Web.Mail.MailMessage() mailMessage.From = "Bob@Here.com" mailMessage.To = "Joe@Here.com;Fred@Here.com;Fred@hotmail.com" mailMessage.Subject = "Work Request issued" mailMessage.BodyFormat = Syste...

redirecting user when email has been sent to a thankyou page or when the email has not been send to an error page
 Hello, I wrote this code for my email: Imports System.Net.MailPartial Class sendemail_feedbackpage    Inherits System.Web.UI.Page    Protected Sub submit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles submit.Click        Const ToAddress = "myemail@ildw.com"        Dim MM As New MailMessage(UsersEmail.Text, ToAddress)        MM.Subject = "asp.netsubmission form"        MM.Bod...

Sending Email through System.Net.Mail is generating errors "Failure Sending mail
hi Sending Email through System.Web.Mail is working fine but System.Net.Mail is generating errors "Failure Sending mail  i treid in all possible ways but did't  pls help in giving a solution thanks & Regards vittal Maybe you can show us some code and post the exact error mesg as well (by looking at the value in ex.tostring)?My HomePage - www.findingsteve.net"It is more blessed to give than to receive." Acts 20: 35 (NIV, Bible)Progress - "Never discourage anyone...who continually makes progress, no matter how slow." Plato System.Web.Ma...

I can send email from my site, but I get an error when I try to send a cell phone TM.
From all that I can gather sending a TM is very much the same as sending an email. Only thing that changes is who it is being emailed to. That being said however I keep getting this error: Mailbox unavailable. The server response was: <'left out for security reasons'@vtext.com> No such user here at System.Net.Mail.Smtp  Any one know why?? chekmate:Any one know why?? Yep.  The account you tried to email to doesn't exist at the server you tried to send it to.  You got the wrong account, the wrong server or both. JeffPlease: Don't forget to click &...

Sending Email with Net.Mail (No Email, no error)
hi,i'm using the system.net.Mail namespace to send an email from my application. when i send, the application does not fire any exception, neither does it send the email to my account.below is the code i'm using  Dim mmailMessage As New Net.Mail.MailMessage Dim mFrom As New Net.Mail.MailAddress(mailFrom) mmailMessage.From = mFrom Dim ll As String = "myname@ourmail.com" mmailMessage.To.Add(ll) mmailMessage.Subject = "Talk Concerns" mmailMessage.Body = "Testing Concerns One Two" Dim ...

Email gets a send error but still goes into Sent folder. Sometimes successfully sends and sometimes doesn't
The error message we recieve sometimes on an employee's computer when sendi= ng mail reads "An error occured while sending mail. The mail server respond= ed: Resources temporarily unavailable - Please try again later. Please chec= k the message and try again" Thunderbird then proceeds to put the message in the Sent folder after hitti= ng OK, defeating the purpose of the error in my opinion. Whether or not it successfully sends is completely unknown to us unless the= person replies or the person it was emailed to is within our office; howev= er, when sending the email...

send web email from web form error help
Hi, When send email with attachment from web form. I got an error message as below. What it is? Can someone help? Server Error in '/dotNet' Application. -------------------------------------------------------------------------------- The transport lost its connection to the server. Hi There, Please check the following link The transport failed to connect to the server Hope this helps Sunny NAGIProper Preparation Prevents Poor PerformanceDont forget to click "Mark as Answer" on the post that helped you....

Getting an error sending web page as a newsletter: BC30516: Overload resolution failed because no accessible 'Add' accepts this number of arguments.
I got sample code from the internet on how to sent a web page as a newsletter to multiples emails from reading them out of an Access database. The text version of this works great. Then I decided to change from system.web.mail to system.net.mail and also I added a screen scraper code I got again from the internet to email a page as a newsletter instead of just text.   I get the following error on the mailMessage.To.Add = New MailAddress(dt.Rows(i).Item("userid")) statement. BC30516: Overload resolution failed because no accessible 'Add' accepts this number of argum...

send mail error when sending mail from web
The "SendUsing" configuration value is invalid. 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.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid. Source Error: Line 41: Line 42: 'Now, to send the message, use the Send method of the SmtpMail class Line 43: SmtpMail.send (objMM) Line 44: Line 45: Source File: c:\inetpub\wwwroot\sendmailthink\WebForm1.aspx Line: 43 ...

get a security error - get certificate
This has only happened with one person. In trying to send an email to time warner (not an issue I don't think) when he trys to add his signature he gets 'security error' you do not have a security certficate. Talk about being the wrong error for this one. any ideas? GW7sp2 On Wed, 10 Oct 2007 20:18:51 +0000, mark wrote: > This has only happened with one person. In trying to send an email to > time warner (not an issue I don't think) when he trys to add his signature > he gets 'security error' you do not have a security certficate. Talk >...

Get error when sending email
Since updating to SM 2.13.1 from SM 2.12.1, when I go to send an email I get an error to check my Temp file settings, this does not happen every time but quite often. I close the error and try to send again -sometimes the message is sent but some times I have to try three or four times. Any ideas? Error is below: Send Message Error Sending of message failed. Unable to open the temporary file C:\Docume~1\Jamess~1\locals~1\temp\nsmail.temp. Check your 'Temporary Directory' settings. JAS -- You either teach people to treat you with dignity and respect, or you don'...

Sending a web page by email
Hi, I have an asp.net content page wit lots of text boxes and other controls. I want to send this web page as an email when a button is pressed. Please share your ideas. You can use the SmtpMail class, take a look at the following article: http://www.codeproject.com/useritems/smtpmail.asp/Fredrik Normén - fredrikn @ twitterMicrosoft MVP, MCSD, MCAD, MCTASPInsidersMy Blog I have experience with forming message body and  sending an email. But now I really have lots of controls in this page, so I want to save this as a HTML file and send it as an attachment. ...

send web page in email?
I like FF much better than IE8 however one thing I like much better about IE is the ability to send a web page by email as opposed to sending a link by email as FF forces you to do. Is there an add-in or any othere way I can give FF this ability? No security lectures or whatever, I want to do it that way. Thanks in advance... Bob "Bob" <bobnewman@cox.net> wrote in message news:f3e980ec-26f4-44fd-ad02-b6c13e130a0e@s19g2000vbr.googlegroups.com... > I like FF much better than IE8 however one thing I like much better > about IE is the ability to send a web page b...

Error Sending Email from .NET
Hey there.Ive made a signup script that authenticates users email by sending an activation code to their email address. The problem im getting is the following...The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication. Please check your mail client settings. Now Ive been told this can be sorted via settings on the server but Ive emailed my hosting providers and they cant/wont change these settings... so is there any way I can get around this from within ASP.NETI would really appreciate any and all suggestions. Many Regards ...

Web resources about - Sending Email from web page-send.objmm error - asp.net.getting-started

Facebook Bug Sends Fake Offers From Pages
Sister blog Inside Facebook has the details on a Facebook bug that has been affecting its offers feature for pages . continued… New Career ...

Google Declines to Send Page, Schmidt to Senate Hearing - John Paczkowski - News - AllThingsD
You'd think that with Google's growing influence in Washington and its close ties to the Obama administration, the company would find it relatively ...

Send page by email - Boston Herald
Skip to main content Home - Boston Herald - bostonherald.com RSS Subscribe Extras Crossword Lottery Home News & Opinion Local Coverage Local ...

Send page by email
... eReports Virtualizing the Network May 2014 Resources White Papers Free Subscriptions Company Profile Search Log In Register Advertisement Send ...

Send page by email - Human Rights Watch
... Home Our Work News Publications Multimedia About Us Donate Enter your keywords: Search all languages FOLLOW US Your email: * Your name: Send ...

Jackie Speier Alerts Marines To 'F'N Wook' Facebook Page, Sends Letter Urging Action
... to Defense Secretary Chuck Hagel, Marine Commandant James Amos and Inspector General Lynne Halbrooks, alerting them to a Facebook page displaying ...

Vester Lee Flanagan II: Alleged Gunman Sends ABC News 23 Page Suicide Note, Dies From Self-Inflicted ...
... behind the fatal shooting deaths of Alison Parker and Adam Ward had been trying to reach them for “weeks” and allegedly sent them a 23 page ...

TV Shooting Suspect Sends 23-Page Manifesto To ABC News - LEX18.com - Continuous News and StormTracker ...
The suspect in Wednesday morning's tragic on-air shooting faxed a 23-page manifesto about the motives for the shooting of two of his former co-workers ...

Page Forwarder Sends You to Web Pages You've Been Meaning to Read
... . But why not take that productivity tip up a notch? Instead of simply blocking a site, use that time to catch up on your reading list. Page ...

Congress Sends Google CEO Larry Page Letter Asking About Google Glass Privacy Concerns
In the midst of the 2013 Google I/O developer conference currently being held in San Francisco, Google CEO Larry Page received a formal letter ...

Resources last updated: 11/28/2015 9:16:40 PM