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
Solved

what is TIdSMTPServer ?

Posted on 2007-03-20
3
728 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

861 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