Solved

what is TIdSMTPServer ?

Posted on 2007-03-20
3
738 Views
Last Modified: 2012-05-05
I want to send email from my computer

I tried to use TIdSMTPServer (based on Indy_10_SMTPServer example)  to make my computer be a smtp server then use asp to send mail with the smtp is 'localhost' but always get error message "The server rejected one or more recipient addresses. The server response was: 550 We do not relay...."

please help me to know what is the purpose of TIdSMTPServer ???  
(im using indy 10)
0
Comment
Question by:lhquang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 250 total points
ID: 18762744
answering the title question: it's the indy smtp server :)
the error that you get is because the server does not allow relaying which usually happens when the email address domain is different from the domain served by the smtp server.

however, that is not the "correct" way of sending emails. imagine that every program that wants to send email will start up a smtp server... ugly :)

see this demo I compiled for you now (ripped from a project I'm working on, in case there are any weird remainings): http://www.ciuly.com/delphi/indy/sendMail/index.html
tested with yahoo and gmail. gamil for some reason takes very long to send. probably because of the relaying. yahoo however accepted the email right away.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21278312
Forced accept.

Computer101
EE Admin
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question