Solved

Sending email using indy components (or other if need be)

Posted on 2003-11-26
16
345 Views
Last Modified: 2010-04-05
Hey guys, here's my problem.

I'm looking for a way to send an email from within my delphi app to a free web based email address (lycos.com) but there are a few constraints on the solution:

1) It can't rely on any third party software such as MAPI Outlook etc.
2) It can't rely on using a DNS Server or external SMTP Server.

Basically I want the user to be able to enter message and click send and to have the message show up in my email without having to worry about anything else. I'm currently using Delphi 7 and Indy 9.0 if it is of any use.
A coded example would be of imeasurable use.

Thanks, Michael
0
Comment
Question by:miket6000
  • 4
  • 4
  • 2
  • +3
16 Comments
 
LVL 2

Accepted Solution

by:
TheLeader earned 100 total points
ID: 9829195
0
 
LVL 2

Expert Comment

by:TheLeader
ID: 9830043
0
 
LVL 5

Assisted Solution

by:DeerBear
DeerBear earned 100 total points
ID: 9837471
Hi,

I've answered questions like this here at least 3 times.

Please browse in my older messages to find the ones you need!

HTH,

Andrew
0
 

Author Comment

by:miket6000
ID: 9841211
Andrew, I know that's a valid point but whenever I've found similar questions and tried to view them I've been told i need to upgrade to Pro membership, something I'm not quite willing to do.
0
 

Author Comment

by:miket6000
ID: 9841304
TheLeader, when attempting to use the emailarchitect component I had the same problem that occured while trying to use the SMTPRelay example that came with Indy, that is the program sits there telling me that it is connecting and does nothing more untill an error occures. I have this problem regardless of the DNS server I try using, if you have any idea what the problem could be I'd be pleased to hear from you.

Thanks, Michael.
0
 
LVL 10

Assisted Solution

by:Jacco
Jacco earned 100 total points
ID: 9856136
Most ISPs will not accept email from you if you don't go through an SMTP server of your provider. This is to prevent SPAM. If anyone can directly access any mailbox the SPAM rate would probably be a lot worse.

Regards Jacco
0
 

Author Comment

by:miket6000
ID: 9872316
So how is it that all those downloadable bulk emailers and spamers send email from home computers?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 2

Expert Comment

by:TheLeader
ID: 9872569
well, from along time ago, I was looking for spam programs, to stop them using AI methods,anyway I saw a program that sends spams to any internet users, by send many emails to a specific server( they give you the ip of the server only), and the server will do the work send the spams to us(the victims).
the point here, the program was free to download, but the servers ips was not.
because you can't send the email using other SMTP without permission

hope it helped...
0
 

Author Comment

by:miket6000
ID: 9872589
So basically I'm trying to attempt the impossiable, wanting to do it for free?
0
 
LVL 2

Expert Comment

by:TheLeader
ID: 9874458
no i don't think its impossible, but that what i found.
maybe theres a solution.

one thing more, I tried to send a spam using ASP (web Dev),it worked perfectly, and I made it in loop for a seconds.
I get in my mail box 2000 emails, my email was in that time (2 year ago) @yahoo.com.
the smtp was my local server (windows 2000 pro)
but in delphi actually i didn't try that.

hope it helped ...
0
 
LVL 12

Assisted Solution

by:Ivanov_G
Ivanov_G earned 100 total points
ID: 10867873

  Check this :
  http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20936651.html

  There is answer by non_zero. his post is unit that sends mail via telnet. It telnets to port 25 of the mail server and send commands there. So you don't need to have SMTP server. Enjoy ....
0
 
LVL 1

Assisted Solution

by:sbrvar
sbrvar earned 100 total points
ID: 11049461
Ivanov G: Telneting to port 25 *IS* using SMTP server.

miket6000:

You're saying you can not use external SMTP server. But surely you have access to SOME smtp server - how else is the user sending out their normal e-mails? Is your problem trying to find out what their ISPs smtp server is?
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11049482

    It is connecting directly to the mail server and send the mail via the commands there. Try it - it works...
0
 
LVL 1

Expert Comment

by:sbrvar
ID: 11049547
I know it does. Used it several times in the olden mainframe days ;-)

What I said was - SMTP server is nothing but listener on port 25. So telneting to port 25 is using smtp server. How you connect to that port (client) is up to you, but the listener on the other side is a server (=smtp server).

If you can telnet to ip address on port 25 you can use that ip address in any smtp component to send messages.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now