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
Thread Tools Display Modes
Share |
Old 09-16-2017, 02:51 AM
juhil_mendpara juhil_mendpara is offline
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?



Old 09-16-2017, 05:13 AM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
Join Date: 02-10-07
Location: Central Kentucky
Posts: 13,453
iTrader: 4 / 100%
To some degreee you can but I have never used either of these mail servers: http://www.pmail.com/
Old 09-17-2017, 06:29 AM
HunterT HunterT is offline
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
Old 09-17-2017, 09:06 AM
hiralove hiralove is offline
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.
Old 11-07-2017, 11:04 AM
bywaterdigital's Avatar
bywaterdigital bywaterdigital is offline
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.
Old 11-14-2017, 04:37 AM
code lack code lack is offline
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
Old 11-14-2017, 02:43 PM
J. H. Rasmussen J. H. Rasmussen is online now
Super Moderator
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 5,937
iTrader: 1 / 100%
I think maybe this link will be helpful:
JSP Tutorial - JSP Send Email
Old 12-16-2017, 04:11 AM
AndriusDono AndriusDono is offline
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

Forum Jump

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 01:17 PM

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

All times are GMT -7. The time now is 12:25 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC