Solved

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

Posted on 2003-11-26
16
350 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
[X]
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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

735 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