Solved

what is TIdSMTPServer ?

Posted on 2007-03-20
3
713 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:
ciuly 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now