PDA

View Full Version : Using the ASPMail component


Jeremy Oldham
02-22-2003, 12:06 PM
Is anyone using the ASPMail component?

I am attemping to send email from my web page, and am successfully creating the mail object and assigning properties. However, when I execute the 'sendmail' method, I am getting an error back from the SMTP server (503, need recipient). According to the ASPmail documentation, this means the SMPT server is rejecting email correctly created by ASPmail.

From the ASPMAIL documentation:

"500 series errors are errors that the SMTP server generates. This error means that the message recipients given are either not given (you didn't use AddRecipient, AddCC or AddBCC) OR they are not valid recipients for this SMTP server. This is often associated with the "no relay" issued covered above. The SMTP server rejects the given recipients and then issues this error. This typically happens when you have IgnoreInvalidRecipients set to true. You can verify that the SMTP server is ignoring your recipients due to the "no relay" issue or for any other reason by using the SMTPLog property to generate a log and then look at the rejection errors in the log file."

Any ideas how to proceed?

Thanks,

Jeremy

bruce
02-23-2003, 01:45 AM
Set SMTP host to localhost

Originally posted by Jeremy Oldham

Is anyone using the ASPMail component?

I am attemping to send email from my web page, and am successfully creating the mail object and assigning properties. However, when I execute the 'sendmail' method, I am getting an error back from the SMTP server (503, need recipient). According to the ASPmail documentation, this means the SMPT server is rejecting email correctly created by ASPmail.

From the ASPMAIL documentation:

"500 series errors are errors that the SMTP server generates. This error means that the message recipients given are either not given (you didn't use AddRecipient, AddCC or AddBCC) OR they are not valid recipients for this SMTP server. This is often associated with the "no relay" issued covered above. The SMTP server rejects the given recipients and then issues this error. This typically happens when you have IgnoreInvalidRecipients set to true. You can verify that the SMTP server is ignoring your recipients due to the "no relay" issue or for any other reason by using the SMTPLog property to generate a log and then look at the rejection errors in the log file."

Any ideas how to proceed?

Thanks,

Jeremy

wesiwyg
12-21-2007, 11:05 AM
hi,

I am having the same problem when using ASPmail component.

Can you please tell me how you change SMTP to localhost.

In IIS, I have the SMTP virtual server with a server name but with (local) in brackets?

Regards,
Wesiwyg

wisemx
12-21-2007, 11:57 AM
In your web.config :

<system.net>
<mailSettings>
<smtp>
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>

tsqrcocom00
05-17-2009, 08:58 AM
one of the primary reasons I signed up with DiscountASP is because you support ASPupload and ASPmail - now that I found out you don't support ASPmail - I will need your help.

I have a form with 10 or more questions and image upload for my customers so I can get their feedback and their file associated with with the form feedback. I can't do that now. any ideas you might be able to help with here?

if not then I need to find another hosting company since I was referred to you by ASPIN.com

wisemx
05-17-2009, 09:17 AM
Hi,
Do you just want an ASP.NET Contact page?
All the best,
Mark

CrystalCMS
05-17-2009, 01:41 PM
one of the primary reasons I signed up with DiscountASP is because you support ASPupload and ASPmail - now that I found out you don't support ASPmail - I will need your help.

I have a form with 10 or more questions and image upload for my customers so I can get their feedback and their file associated with with the form feedback. I can't do that now. any ideas you might be able to help with here?

if not then I need to find another hosting company since I was referred to you by ASPIN.com

http://discountasp.net/features.aspx#components
http://support.discountasp.net/KB/a395/list-of-supported-and-deprecated-components-in-iis-7.aspx

I see ASPUpload is on the DASP supported components list, but there's no mention of ASPMail any more.

Are you attempting to move an existing website to discountASP.NET without touching the code? If you have web development skills, perhaps you will be able to use the DASP supported ASPNETEmail component instead. Or if all this feedback form does is send an email with an uploaded attached file, the System.Net.Mail.SmtpClient can easily do that.

bruce
05-18-2009, 09:51 AM
We stopped supporting ASPMail about 2 years ago. As a matter of fact, we got rid of all the components from ServerObjects since Windows 2003 SP1.

Ever since we upgraded our server to the latest Windows Service Pack (Win2k3 SP1), we have seen many problems with the ServerObjects components, which is degrading server performance and has resulted in hanging of the ASP processor on the server.

We have attempted to contact ServerObjects support department multiple times but we have not received any response. According to our research, many ServerObject component users are suspecting that ServerObjects has gone out of business, even though their website and component ordering system is still operational.

We do have other COM email components installed on our server. For example

Persists ASPEmail
JMail