Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Closed Thread
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 09-16-2017, 03:51 AM
Junior Member
Join Date: 07-10-17
Location: India
Posts: 1
iTrader: 0 / 0%
Post Can we send mail via loacalhost

I am building a web application using Java Servlet and JSP, I want to send confirmation email using localhost. Is it possible?...And if yes, How?



  #2 (permalink)  
Old 09-16-2017, 06:13 AM
ScriptMan's Avatar
Super Moderator
Join Date: 02-10-07
Location: Central Kentucky
Posts: 13,185
iTrader: 4 / 100%
To some degreee you can but I have never used either of these mail servers: http://www.pmail.com/
I do not put ads or pop-ups in my posts and I have no control of what shows there. I do not endorse any product displayed in my post.
Scriptman's Playhouse || Ramblings from an old man
  #3 (permalink)  
Old 09-17-2017, 07:29 AM
Junior Member
Join Date: 09-17-17
Location: Quahog
Posts: 10
iTrader: 0 / 0%
Yes, it is possible.
I have done it in PHP before.
The weirdest part... When you create an Email sending in PHP.. It allows you to put the From address.... So you can straight up type like admin@google.com and it will straight up arrive as if it came from that to anyone you send it to. Wish I still had mine
  #4 (permalink)  
Old 09-17-2017, 10:06 AM
Junior Member
Join Date: 09-17-17
Location: India
Posts: 4
iTrader: 0 / 0%
Yes, you can. But I will never recommend it. Your IP address will be blocked in sometime and if you have a static IP its a big NO.
  #5 (permalink)  
Old 11-07-2017, 11:04 AM
bywaterdigital's Avatar
Contributing Member
Join Date: 08-25-17
Location: York, UK
Posts: 61
iTrader: 0 / 0%
Make sure the sender email matches the domain/IP it is sent from, and use SMTP with SSL. Better yet, run your mail sending via a service such as mandrill.
Get in touch for Web Design services in York - Bywater Digital
  #6 (permalink)  
Old 11-14-2017, 04:37 AM
Junior Member
Join Date: 11-14-17
Posts: 5
iTrader: 0 / 0%
Yew it is possible to sent mail via local host by using SMTP with SSL
  #7 (permalink)  
Old 11-14-2017, 02:43 PM
Super Moderator
Latest Blog:

Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 5,739
iTrader: 1 / 100%
I think maybe this link will be helpful:
JSP Tutorial - JSP Send Email
  #8 (permalink)  
Old 12-16-2017, 04:11 AM
Junior Member
Join Date: 12-15-17
Posts: 9
iTrader: 0 / 0%
Yes, it is definitely possible, but you need to create a local mailserver.

More info for that here:

http :// smallbusiness.chron [dot] com/create-smtp-server-computer-51563.html

Hope this helps!
Go Back   Webmaster Forum > Web Development > Coding Forum

Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send sms marketting via software via gsm modem? vaeziarash Marketing Forum 6 09-17-2017 02:17 PM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 02:59 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media

Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.