Solved

what is TIdSMTPServer ?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

920 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

12 Experts available now in Live!

Get 1:1 Help Now