/    Sign up×
Community /Pin to ProfileBookmark

Email stuck in Apache mailoutput folder

Morning all,

I have created an HTML form with a send.php, I have all fields working and sending without any errors BUT the emails are getting stuck in the Apache mailoutput folder and are not getting mailed to recipients. I have made changes to my php.ini and sendmail.ini and that doesn’t seem to help. Attached please see my php.ini and sendmail.ini. What am I missing?

[COLOR=”#0000FF”][B]Php.ini[/B][/COLOR]

[mail function]
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = ip address for exchange server here
smtp_port = 25

; For Win32 only.
; [url]http://php.net/sendmail-from[/url]
sendmail_from = [email][email protected][/email]

; XAMPP IMPORTANT NOTE (1): If XAMPP is installed in a base directory with spaces (e.g. c:program filesC:xampp) fakemail and mailtodisk do not work correctly.
; XAMPP IMPORTANT NOTE (2): In this case please copy the sendmail or mailtodisk folder in your root folder (e.g. C:sendmail) and use this for sendmail_path.

; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
sendmail_path = “”C:xamppsendmailsendmail.exe” -t”

; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the C:xamppmailoutput folder
;sendmail_path = “C:xamppmailtodiskmailtodisk.exe”

[COLOR=”#0000FF”][B]sendmail.ini[/B][/COLOR]

[sendmail]

; you must change mail.mydomain.com to your smtp server,
; or to IIS’s “pickup” directory. (generally C:InetpubmailrootPickup)
; emails delivered via IIS’s pickup directory cause sendmail to
; run quicker, but you won’t get error messages back to the calling
; application.

smtp_server=ip address for exchange server here

; smtp port (normally 25)

smtp_port=25


*******************

[B][COLOR=”#0000FF”]
Does anyone have any thoughts on what I can do?[/COLOR]
[/B]

Thanks,
Sparkymom

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@sparkymom7authorJul 02.2013 — anyone?
Copy linkTweet thisAlerts:
@NogDogJul 02.2013 — This may not be considered help, but I'll throw it out there anyway:

I've never tried to use SMTP via those settings. I've always ended up using PHPMailer with its included SMTP class. If you do not find a resolution to this soon, you might want to give that alternative a look.
×

Success!

Help @sparkymom7 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.28,
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,
)...