I have verizon DSL
I am trying to build a test email app (to learn how to send emails) and somewhere in my test app it requires the host_name, user_name, and password. I thought it was smtp.verizon.com but I get a 'host not found' message.
I tried this website (via google) and it is asking me to [http:// enter the domain name]. I don't know. I'm confused.
http://www.whoishostingthis.com/
Is there another way I can find this info on my computer through cmd ?
example delphi xe7 code snippet below.
Code:. . IdSMTP.Host := 'smtp.verizon.com'; IdSMTP.Port := 25; // 587; //465; // 25; IdSMTP.AuthType := satDefault; IdSMTP.Username := 'my user name'; // replace with your actual one IdSMTP.Password := 'password'; // replace with your actual one IdSMTP.Connect; . .
+ Reply to Thread
Results 1 to 22 of 22
-
Last edited by vhelp; 10th Aug 2015 at 21:58.
-
what are you tying to do
an email client program to send and fetch emails from a host account like gmail
or an email sever
to two are entirely different
a HOST is the server where your emails are stored.. example... yourname@gmail.com yourname@yahoo.com etc
and password is self explanatory ,,it your password to your gmail account -
there are 2 different hosts depending on whether you are trying to fetch mail or send mail. an smtp server is used to send mail from your computer and route it to the addressee. a pop or imap server you use to fetch mail.
your smtp server is encrypted with ssl (put that as authtype) so it would only be port 465 and i would erase the quote marks in your example.
i'd try it like this
IdSMTP.Host := smtp.verizon.net;
IdSMTP.Port := 465;
IdSMTP.AuthType := ssl;
IdSMTP.Username := vhelp@verizon.net;
IdSMTP.Password := vhelp123;
IdSMTP.Connect;Last edited by aedipuss; 11th Aug 2015 at 00:20.
--
"a lot of people are better dead" - prisoner KSC2-303 -
that did not work. I don't understand why I need to enter a user_name and password just to send email. I don't do that in outlook and gmail. So why in this app's case ? Anyway.
I am trying to send a test email to my gmail (android) and my work's (outlook) but am failing at everything I try so far. Why is this so complicated? Anyway.
Today, I am at work. Outlook is what we use at work. But since this is of a personal nature (the project), I am testing the email app on my laptop which is connected to my personal wifi hotspot device. It is an Internet On-The-Go device (http://www.internet-go.com/) I got from Walmart last year for emergencies. So, I use it at work to test things like this.
So, now I need to know what my host name is for this device, and my username and password, I guess. I am clueless in the background configuration of sending email.
How do I find out what my host name is for this device ? -
I have Verizon, and as far as I recall Verizon implemented certain security measures to prohibit SMTP from outside the Verizon network. You can still use their NetMail web email anywhere, but but SMTP was closed off due to excessive SPAM.
-
-
I have no idea. writing a custom app to send email is all new to me. A mystery. I don't know the background details to fully understand what I need to get it working. Like knowing that I need a host name as part of sending an email. When I am on my android tablet and want to send an email, I open the gamil app and enter a person(s) (email address, subject and body text) and send the email. Same for when on my work computer on Outlook. I don't enter a host name, a port number, a username and password. But the email still goes out. So it seems that I must know all this for my custom app.
-
that's because the email app already knows the host and rest from when you first set it up. verizon has to allow smtp because that's what all email clients use to send your email from your computer to verizon which then forwards it to the addressee.
if you look hard enough in the settings of outlook you can find the outgoing server settings. the same with gmail thunderbird and the rest.
here's one from thunderbird.
--
"a lot of people are better dead" - prisoner KSC2-303 -
that did not work. I don't understand why I need to enter a user_name and password just to send email. I don't do that in outlook and gmail. So why in this app's case ? Anyway.
I am trying to send a test email to my gmail (android) and my work's (outlook) but am failing at everything I try so far. Why is this so complicated? Anyway.
you are trying to act like an email server
an email APP program will access an existing account.. log in, and send from that account.. NOT too the account
i repeat the what you are programing is NOT an email client program/app
NOT from what you are saying
an email program to send emails, will access your gmail OR outlook and send from there
NOT to there -
an email server is just a computer(s) somewhere. it's accessed by having it's ip(domain name) and using the correct protocol just like any other computer out on the web. to send mail to it you use smtp protocol. to get mail from it you use pop or imap protocol. the same as going to a website using http(s). or a fileserver using ftp.
Last edited by aedipuss; 12th Aug 2015 at 09:56.
--
"a lot of people are better dead" - prisoner KSC2-303 -
All of that same information was entered into Outlook when it was setup. It then sends that information automatically.
Gmail is the same way. You have to enter your login (username and password) each time OR you tell your browser or email app to remember it for you.
Honestly, it sounds like you are in over your head.Google is your Friend -
update.. I finally figured it out, to send email from my laptop from my works' internet_host. We use "mail.our_name.com" for outlook. When I changed that in my apps configuration and added port=25, the email finally was sent to my outlook's in box. Also, I did not need my user_name and password. All I needed to fill in was the sender (me) and the email address to send by. Later, I will try it on my home internet, verizon DSL and see if I get the same results. They use smtp.verizon.net so I'm hoping it will work similar.
But when I tried to send a test email to my gmail account, it failed with can't relay the email or something. I tried on port 465 and 587 since those are the recommended ports to use but it fails to send on those as well. So I need to continue searching for a solution.
Just for the notes, I am not sending out spam mail. I am in the process of developing an application for the windows and mobile platform for my facility, so that people can use a windows tablet or an android tablet. The app is a search tool, and once a form is filled out, that info will be send via email.
I still would like to know how to obtain my internet_host name, via some cmd command if possible since it would give me the logic/method to use in the application to fill in the Host name for sending the email. -
Most email servers, especially ISP providers do not permit their servers to be used as open relays. This opens the flood gates for spammers.
You want your internet hostname, goto www.whatsmyip.com and you'll see at the top your ip address, remember the ip or write it down for example 000.000.000.000
on the left side of the site select whois and dns lookup, enter your ip address in the whois lookup box. That will resolve the ip to the actual hostname.
Chances are none of this will be relevant to using an email server as an open relay. Chances are your ip address is dynamic (means it can change) and not static (paid for and never changes). If you want to host your own email server you will need to purchase a static ip and use a server like hmailserver dedicating a machine to it and setting up A and MX records etc in your domains host file.
I don't understand what it is your exactly trying to do.It's not important the problem be solved, only that the blame for the mistake is assigned correctly -
your work email is not encrypted so it uses port 25. verizon is encrypted with ssl and so it uses port 465. and it needs username and password. also verizon uses port 995 for outgoing mail. again encrypted and needs username/password.
--
"a lot of people are better dead" - prisoner KSC2-303 -
update..
I finally got it working. Not quite complete, but I can now send email through this custom app I made. Let me tell you that this stuff is tricky, especially if you don't know the terms and other technical aspects of this process. Anyway. I learned how to send email through my verizon DSL service--when i'm connected to them on this laptop through wifi.
This is how you set it up (if you are creating a custom email client of your own, like I have done) but should be similar in other stand-alone email packages:
Code:host: smtp.mail.yahoo.com port: 587 username: yourverizonusername password: yourverizonpassword
** Note, this is for your internet host, your provider, when you are connected to the internet through them. In my case, it is Verizon DSL modem that my laptop computer is connected to via wifi. Your setup (as shown above) will differ if using another internet provider. Mine is Verizon, and they are using yahoo as the intermediary for email, I guess. **
I don't know where the "refresh" button is on the webpage. refreshing the webpage did not bring me my latest emails. I had to wait several minutes before finally seeing that my custom made email app had really worked. Once I saw my test email, I was satisfied that I was on the right tract, finally. And now, to create the other side to this project, an email receiver (pop3)--so that I can see my emails coming right away instead of having to load up a browser and wait for the webpage to load chock-full of junk before finally settling down to my actual email listing.Last edited by vhelp; 18th Aug 2015 at 22:09.
-
Also, to answer my own question from post #1, my host, that is, my internet mail host, is "smtp.mail.yahoo.com".
-
You are confusing your ISP with your e-mail provider. They may, or may not, be related. ANY e-mail setup will work with ANY service provider, the actual service company has NO repeat NO effect on this process. You ONLY need be concerned with the mail servers, NOT the Internet Service Provider.
On rare occasions, a particular ISP may block access to a particular set of mail servers, but usually not for very long.
Each mail provider will have their own set of configuration issues, incoming and outgoing servers, encryption type, requirement to sign in for outgoing mail, port numbers, etc. They do not necessarily use the default port numbers for their chosen encryption setup, they are also prone to change these port numbers with no notification to the end user. You can either get the correct settings from an existing, functioning e-mail program or from the mail service providers website.
I believe your Yahoo address is detailing an SMTP-type server, at address mail.yahoo.com. I have never seen one with four segments to the name. Ever. -
Like I said, I am not familiar with all the technical terms with regards to email. Yes, the host is four segments. I tried with smtp.yahoo.com and mail.yahoo.com but they both failed. It must be smtp.mail.yahoo.com to work.
But here is another oddity to this endeavor. If I am not connected directly to my home internet provider (Verizon DSL) via wifi, (ie, i am in another city and instead of using my works wifi service, I am using my Internet-on-the go personal wifi hotspot device--my laptop is connected to it via wifi) then port: 587 fails. But if I change it to Port: 465, it works. So that is a mystery to me why that happens. So this is good that I found this out now, so that I can incorporate new logic into the code for handling these kinds of situation: if the user is using the device (with the custom app I am developing) in another location, and different internet provider, I need to account for these changes by proving custom configuration settings. So, the more quirks like these that I found out, the better the chances I will have the setting(s) to accommodate.
Code:host: smtp.mail.yahoo.com port: 465 username: yourverizonusername password: yourverizonpassword
-
I will repeat this clearly and plainly.
If you are being led to believe that the configuration settings to send and receive e-mail need to be changed each time you connect to a different internet service provider, you are doing something wrong. This is just not true.
The settings for a given e-mail service have absolutely nothing whatsoever to do with how you connect to the internet. They are totally independent and not related in any way. DSL, cable modem, dial-up, from Pakistan, Calcutta, New York, it makes no difference. The server's settings appear the same to every service and every connection.
An ISP does NOT have a default outgoing mail server, IF you also have an e-mail account with them, and IF you with to use that particular email account, THEN you would use that particular email accounts outgoing server. IF you have multiple email accounts, THEN you have multiple choices of outgoing servers to use, each will have their own settings. Generally, you would use the outgoing server associated with the particular address at which you wish to receive email, but you do not have to. You can use any server to which you have access, which would include any of several which do not require a login to allow sending. The only connection between ISP and mail server is that you almost always have an email account with your ISP, so that you have a valid login for their email servers. You do not have to use that account, you can use any account you want to, as long as you have a login for incoming mail, and for outgoing if required.
Think about it, many people take the same laptop with the same Outlook settings from work to home to other cities, multiple ISP's, the e-mail always works. There is no need to change server names or port numbers. Outlook, Outlook Express, Thunderbird, Live mail, multiple others I've forgotten, ALL are the same for ALL providers, you are chasing your tail and wasting time and this annoys me.
What you are indicating is equivalent to saying that the phone number you use to call Aunt Martha changes if you change cell-phone providers.
I am curious why you are spending time and effort to re-invent the wheel. -
I am curious why you are spending time and effort to re-invent the wheel.
The problem is, how to get that list of selections to that department?
One option was to add a Print feature. But that has its problems, not to mention that it is a programming challenge for me to get working over wifi. I have not been able to figure that out, yet. Also, there are problems with that because the locations can be off site and the items are needed right away as they are picked from the mobile device. So, we need another solution, one much faster.
The second solution was to use email. That was also a challenge because I have no experience with what goes into setting up an email feature for the app, let alone where to start. It is a programming challenge also. The problem with this solution is many folds. wifi. hosts. configurations. communications. security. etc. etc. I had no prior knowledge about such things. Searching google was helpful in getting me started. As the main and only developer of this tool, I decided that I had to learn from the ground up. Or, as you put it, re-invent the wheel. And in the process, I was able to build me an stand alone email app. (the logic behind the code for this email will be used in the final code for the tool via a simple [send] button). Anyway. I needed to ask dumb questions, so I choose to ask our members here, in the computer section. So what's one more wheel in the world. I got me a stand alone email app that I can send and email out quickly and not have to load a browser and wait for it to finish loading and so on. I can just click on my app and send an email lickadysplit now. So this was not a waist of time. I got something out of it.
* still a work in progress, but it works.
But there's a third solution. Cloud. Ok. That's going a bit too far for me because, like email, I know absolutely nothing about it. But it was considered as the ultimate route for sending data electronically through a mobile device. So, eventually, I will be writing code for cloud for this tool. But for the time being, email will do just fine. -
Printing is easy.
Set up a web printer, essentially a printer with an internet connection and an e-mail address. Set the receiving account to forward all e-mail to the printer. That way, you have both the printed copy and the e-mail, in case one screws up. Many inexpensive printers available with e-print features. Simple and easy, about 5-10 minutes work. Maybe 20 if you include un-boxing the printer.
The average user is NOT going to be able to set up this program. Even if they could, which they can't, several of your entries are in a non-standard format. I would consider setting up a separate e-mail account, with anyone you want to, and hard-coding all the out-going mail info into your program. The user would only need to enter in their own e-mail, and/or other identifying information such as an account number. That they can usually handle. The received e-mail would need to include the actual Id info they enter, as all e-mail would be sent from the same hard-coded account.
Similar Threads
-
WARNING! During registration, someone steals your host!
By arcanoider in forum FeedbackReplies: 4Last Post: 5th Sep 2014, 18:07 -
LAN: Destination Host Unreachable between 2 PC, W7 running - Pls HELP?
By amdk620 in forum ComputerReplies: 18Last Post: 22nd Sep 2012, 12:24 -
How to easily convert your video to Flash FLV H264 and host on your site
By Baldrick in forum User guidesReplies: 6Last Post: 8th Oct 2011, 07:40 -
Video Host???
By cwhistler in forum Newbie / General discussionsReplies: 2Last Post: 10th Sep 2011, 08:46 -
What is the easiest way to host and embed these videos?
By Marketer45 in forum Newbie / General discussionsReplies: 2Last Post: 28th Apr 2011, 20:32