I need to setup smtp with the below for asp.net 3.5
<system.net>
<mailSettings>
<!-- <smtp deliveryMethod="Network"> -->
<smtp deliveryMethod="PickupDire
ctoryFromI
is" from="webmaster@omegalove.
com">
<network defaultCredentials="true" host="omegalove.com)" port="25" />
</smtp>
</mailSettings>
</system.net>
any help would be appreciated.
Iget the following errror:
get the following error.
Cannot get IIS pickup directory.
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.SmtpExcept
ion: Cannot get IIS pickup directory.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SmtpException: Cannot get IIS pickup directory.]
System.Net.Mail.IisPickupD
irectory.G
etPickupDi
rectory() +1101325
System.Net.Mail.SmtpClient
.Send(Mail
Message message) +1480
System.Web.UI.WebControls.
LoginUtil.
SendPasswo
rdMail(Str
ing email, String userName, String password, MailDefinition mailDefinition, String defaultSubject, String defaultBody, OnSendingMailDelegate onSendingMailDelegate, OnSendMailErrorDelegate onSendMailErrorDelegate, Control owner) +367
System.Web.UI.WebControls.
PasswordRe
covery.Att
emptSendPa
sswordUser
NameView()
+537
System.Web.UI.WebControls.
PasswordRe
covery.Att
emptSendPa
ssword() +55
System.Web.UI.WebControls.
PasswordRe
covery.OnB
ubbleEvent
(Object source, EventArgs e) +103
System.Web.UI.Control.Rais
eBubbleEve
nt(Object source, EventArgs args) +37
System.Web.UI.WebControls.
Button.OnC
ommand(Com
mandEventA
rgs e) +118
System.Web.UI.WebControls.
Button.Rai
sePostBack
Event(Stri
ng eventArgument) +166
System.Web.UI.WebControls.
Button.Sys
tem.Web.UI
.IPostBack
EventHandl
er.RaisePo
stBackEven
t(String eventArgument) +10
System.Web.UI.Page.RaisePo
stBackEven
t(IPostBac
kEventHand
ler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePo
stBackEven
t(NameValu
eCollectio
n postData) +36
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +1565
--------------------------
----------
----------
----------
----------
----------
----