Solved

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

Posted on 2003-11-26
16
348 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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