Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 767
  • Last Modified:

what is TIdSMTPServer ?

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
lhquang
Asked:
lhquang
1 Solution
 
2266180Commented:
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
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now