Solved

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

Posted on 2003-11-26
16
346 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
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.

 
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

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

867 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

19 Experts available now in Live!

Get 1:1 Help Now