XAMPP 5.6.3 & Mac OS X Yosemite sending emails

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

XAMPP 5.6.3 & Mac OS X Yosemite sending emails

Postby mhiga » 19. March 2015 01:52

I've been searching the web for weeks, unsuccessfully, looking for a solution to send an email generated with PHP through mac mail. Has anyone had any luck with this? Is it even possible?

Thank you.
mhiga
 
Posts: 2
Joined: 19. March 2015 01:45
Operating System: Mac OS X Yosemite

Re: XAMPP 5.6.3 & Mac OS X Yosemite sending emails

Postby Nobbie » 19. March 2015 13:18

mhiga wrote:Is it even possible?


No. Mac Mail is only a "receiving" server (better said a "client"), its either POP3 or IMAP4 server. In order to send mail you need a SMTP Server.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: XAMPP 5.6.3 & Mac OS X Yosemite sending emails

Postby mhiga » 23. March 2015 21:34

thank you Nobbie.
mhiga
 
Posts: 2
Joined: 19. March 2015 01:45
Operating System: Mac OS X Yosemite

Re: XAMPP 5.6.3 & Mac OS X Yosemite sending emails

Postby amirahaile » 26. March 2015 23:39

So how can I link up XAMPP with Gmail's SMTP server?

I've tried following these instructions:
http://forums.sugarcrm.com/f3/those-who-cant-send-email-gmail-out-using-xampp-67123/

But whenever I try to restart Apache I get this error:
Code: Select all
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
httpd not running, trying to start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs


Apparently I should be able to fix the error with this:
http://wiki.apache.org/httpd/CouldNotDetermineServerName

But I can't seem to find the right ServerName. I've tried `smtp.gmail.com` but it doesn't work. Neither does `localhost`.
amirahaile
 
Posts: 1
Joined: 26. March 2015 23:35
Operating System: Mac OS Yosemite


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 6 guests