I want to send emails from my Pc(Localhost) to external servers like gmail,hotmail or yahoomail.
There are option to send email using Gmail/Yahoomail SMTP settings but i do not want to use any SMTP setting because of there daily limits.
And we also do not want to buy any email/newsletter services.
We want to create it Fully Free in our PC(Localhost).
Please tell us how can do it using Xampp and any open-source softwares.
Related
For our domain(mydomain.com) , we have an Office 365 account that takes care of emails and the website is hosted with a hosting company on a shared server. From my shared server Laravel App I was sending emails using the office 365 SMTP server. The hosting company now blocks this connection to office 365 SMTP server:
"Please note that your account is hosted on a shared server where outgoing SMTP connections are restricted. This is to protect the reputation of the server IP address and prevent potential spamming.
You canconsider upgrading to a cloud server plan"
I do not wish to upgrade to a cloud server plan, are there any other options for an SMTP server ? , that my Laravel app could use ? I have a reseller account with many cpanel accounts on the shared server. So i could use another one of my domains smtp server but I need the emails sent out to be from an office 365 email address. So contact#mydomain.com. Possible solutions ?
If you are sending emails, its actually not recommended to use the SMTP server used by your normal email provider (e.g. Office 365, GMail).
Instead you should use a transactional email service, which is designed for sending a large number of emails programically.
See:
Sendgrid
Amazon SES
If you are unable to send emails using a particular port (which seems to be your issue), feel free to send emails user their respective API's:
Sendgird:
https://sendgrid.com/docs/for-developers/sending-email/api-getting-started/
and https://sendgrid.com/docs/api-reference/
Amazon SES: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-api.html
This will still use the usual HTTP ports, and use different ip's, therefore bypass any port & ip restrictions when sending emails.
I want to use Mercury Mail as a mail server in a local network. I managed to set up everything and I am able to send mails from one client to another in this local network via the Mercury Mail server (part of Xampp) on Windows 7. The whole environment is set up locally, i.e. communication is only between local users and not with the outside world (internet).
What I want now: When a local user sends a mail to another local user, I want them to SMTP authenticate first. From Mercury Mail Admin Panel SMTP Server, I don't see such option. Could you point me to the documentation or guide me on how to do it? Thanks a lot.
I find a lot of details on the internet how to configure Oracle database to use PL/SQL commands to send an email from the database, but they're all using the SMTP server that the database is installed in (I think at least). If these emails are being sent to DBAs, then that's fine.
What about the scenario where an email is sent to customers? In this case wouldn't we want the email to be sent from an application server (e.g. DMZ), and NOT the database server?
I'm assuming the IP address of the database server (or other special information regarding the database server that we'd rather keep private) would be available in such an email. If this isn't true, my question has no merit.
Is it possible to generate an email from the database PL/SQL command(s) but have it sent to the customer from a proxy (e.g. application) server? So the email traffic route would be: database server --> application server --> customer. The added benefit is most email systems would be on the application server anyway so returned emails would go the application server.
If you're using UTL_SMTP, your code will have a line like this somewhere:
c := UTL_SMTP.open_connection( 'myhost', 25 );
The first parameter is the mail server. You should be able to set it to any server that your database server can connect to (via port 25).
They're not necessarily using the SMTP server that the "database is installed in" (not really sure what you mean by that). You define the system parameter SMTP_OUT_SERVER to configure the IP and port of the SMTP server. Oracle will send email to whatever server you define, as long as it is network accessible.
See this site for more information on setting up UTL_MAIL. Try it out. Look at the headers. See for yourself what it looks like.
I'm trying to send a mail via python code via local SMTP server (localhost, port 25) in Windows 7 Enterprise edition. I'm obviously getting the irritating
[Errno 10061] No connection could be made because the target machine actively refused it
message, because I don't have any SMTP server installed. Because of Microsofts' ambigious documentation I thought that I can use the Server manager tool to install the local SMTP service, only to discover that it doesn't work on Windows 7.
I've read here in other threads that Windows 7 does not include the SMTP service anymore, so it doesn't have a local SMTP server. All threads directed the questioners to other, 3rd party SMTP services. The question is: is there any other way of configuring a local SMTP server yet? Or is it still an open issue, and I have no choice but to use a 3rd party software?
This response is a little late, but might help the next person...
No, Windows 7 does not come with an SMTP server. Supposedly Remote Server Administration tools includes an SMTP server, but according to this link, it does not work.
Some options for sending email from a Windows 7 machine are:
For development purposes, I like smtp4dev https://github.com/rnwood/smtp4dev. It is open source and emulates a SMTP server. However instead of actually sending the email, it keeps in in an app on the system tray. Great for making sure you don't accidentally SPAM your users.
If you are planning to send emails out for real, I would advise using a SMTP server with a static IP address as most spam filters dislike dynamic addresses and will block the email.
I have not used it, but if you must send email from your local Windows machine and am not worried about SPAM filters, Free SMTP Server from www.softstack.com seems pretty popular.
[Edited link to new code repository]
I am working on .net applicaton that need to send emails to clients. I am trying to figure out what would be that best solution to send emails. Here is what i have considered. Could you please suggest what would be the best way to go for?
1>Windows server 2008 in built smtp
service.
2>Exchange server hosted in our
datacenter.
3>Use google apps for sending
emails(Basically same as gmail like
for custom domain).
I have explored all options and below are findings.
1>I think would be way to go. Also
supports drop in directory to send
emails so can achieve disconnected
email activity.
2>Application would be tied up with
availability of exchange server and
we dont have any exchange server
support personal. Only developers
poke around in exchange server and
got it working. So if option 1 is as
good as 2 then would like to go with 1.
Is there any drop in directory feature in exchange server like 1?
3>Tried gmail smtp stuff didnt
work. I was receiving timeout error.
Also there is no guarantee that
gmail will send our mail
reliability. They can decide anytime
to stop sending our mails as we are
using free standard version of
google apps.
Other questions:
I installed smtp service in windows server 2008. Now to use this do i need to change any MX record and anything? What i need to do so it can send email using my domain name. Or it can send email for any domain?
I would use a hybrid of 1 and 2. Use local SMTP, but have it relay to your exchange server. Emails will queue if it can't relay to exchange and you have one server(s) that handle all of your outgoing/incoming mail. This support doc explains this setup: http://support.microsoft.com/kb/303734
You only need an MX record if you'll be receiving mail from that domain too.
I would also put in a reverse DNS entry for your domain, which will help with spam detection.