SMTP server response and relay-Email from vb.net -

Started by dhilipkumar, Dec 17, 2008, 02:54 PM

Previous topic - Next topic

dhilipkumar

Symptom
When logging into Drupal for the VERY FIRST TIME (read, fresh install), the standard e-mail fails with the following error message:

"SMTP server response: 550 5.7.1 Unable to relay.."

This causes drupal to provide a temporary password within the same screen (rather than mailing it out) - when you try to navigate away from the screen there are missing menus (specifically the entire admin tree). Anyway, to solve the problem here is what I did to enable SMTP Relaying on my test machine:

1) Go to: start > settings > control panel > Administrative Tools > Internet Information Services
2) Expand the " (local computer)" node
3) Right click on your SMTP server > go to "Properties"
4) Click "Access" tab
5) Under Relay Restrictions, click the "Relay" button
6) Click "Add"
7) Select "Single Computer" and enter IP address 127.0.0.1
8 ) Hit OK, OK, OK (until the properties dialog is closed)

At this point it should work, but just to be extra sure, create a php page called SMTPtest.php and drop in the following code:

thiruvasagamani

please explain
What is the use of SMTP and give advatage of SMTP
Thiruvasakamani Karnan


dhilipkumar



.NET SMTP is a reliable and robust solution for composing, mail merge, and sending e-mails in .NET applications.

This includes sending a web page, sending with or without SMTP relay server, support of backup SMTP and DNS servers for bulletproof e-mail delivery, ESMTP support, sending with a single line of code,

re-sending and forwarding e-mails received with other .NET components, and much more.