/    Sign up×
Community /Pin to ProfileBookmark

Send email no mailserver

I’m trying to send an email on a windows machine. The bad part is that windows doesn’t have sendmail. Where in UNIX I would just do mail(). In the php.ini file you can have it connect to a mail server and send it through there. is where away to send an email just using a php script no mail server. Don’t have the ability to send email through a mail server and don’t have one installed on my machine. Thanks!!!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJun 09.2008 — Possibly there is some sort of all-PHP mail server out there you could incorporate, but normally you either need to install a mail server on your computer, or else send through an external mail server via SMTP. [url=http://phpmailer.codeworxtech.com/]PHPMailer[/url] includes a SMTP class that allows you to send email via any SMTP mail account for which you have a login/password.
Copy linkTweet thisAlerts:
@hastxJun 09.2008 — The only option I know of with a default windows / PHP install is to relay, and that can be set up easily in the PHP.ini file...the built in mail commands will work with that. This is the most reliable assuming you have a server to relay through.

You can also install something like this, but that is buggy and if you are sending outside of your own network, some servers might reject it as spam.
×

Success!

Help @BrutusUnix spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...