Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Sending Email



Threaded Mode | Print  

 Sending Email, How to send out email from localhost (8 Replies, Read 37655 times)
mehrdod
Group: Member
Post Group: Newbie
Posts: 4
Status:
I have successfully installed AMPPS on a Windows 7 box and all is working perfectly except for email.

I access my box with the following addresses:

127.0.0.1
localhost

and I have created a parked domain ITC so I can access it from anywhere by going to //itc/

Now, every time I try to install a script I have to provide an email address. I don't have a mail server on this machine but I have a Microsoft Outlook account that I'd like to use to send out message from so when I install an script I want to get email from itc@outlook.com (already setup).

I am a newbie and hopefully someone with more experience can help me set this up the simplest way possible.


So basically my questions are:


1. Do I really need to have a mail server (e.g. hMailServer) in order to send out emails from my localhost?

2. Can I just use an outlook.com or gmail.com SMTP account to send emails?

3. What do I choose under AMPPS-ADMIN > Email Settings > Mailing Method

- PHP Mail
- SMTP


Thanks guys
IP: --   

Sending Email
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote

1. Do I really need to have a mail server (e.g. hMailServer) in order to send out emails from my localhost?


No. But if you want to send out mails from your PHP script you might have to have a mail server. Depends on the PHP script.


Quote

2. Can I just use an outlook.com or gmail.com SMTP account to send emails?


Yes. Gmail. (Btw Outlook is just a email client)


Quote

3. What do I choose under AMPPS-ADMIN > Email Settings > Mailing Method



- PHP Mail

- SMTP


Select SMTP:
SMTP Server : ssl://smtp.gmail.com
SMTP Port : 465
SMTP Username : Your Gmail Email Address
SMTP Password : Password of your Gmail Account


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Sending Email
mehrdod
Group: Member
Post Group: Newbie
Posts: 4
Status:
Thank you for your reply tidus.

So to understand this correctly. If I decide to configure the Email Setting to SMTP and enter the Gmail server information and my account password, I don't require to run an email server in order for my scripts (e.g. Joomla Social and WordPress BuddyPress) to send out email messages to non-local email addresses like @yahoo.com or @hotmail.com


Correct?
IP: --   

Sending Email
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : mehrdod January 16, 2014, 2:18 pm
Thank you for your reply tidus.

So to understand this correctly. If I decide to configure the Email Setting to SMTP and enter the Gmail server information and my account password, I don't require to run an email server in order for my scripts (e.g. Joomla Social and WordPress BuddyPress) to send out email messages to non-local email addresses like @yahoo.com or @hotmail.com


Correct?


No. You will only get an installation details from Ampps. We don't configure Joomla, WordPress, etc to send mails.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Sending Email
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : mehrdod January 16, 2014, 2:18 pm
Thank you for your reply tidus.

So to understand this correctly. If I decide to configure the Email Setting to SMTP and enter the Gmail server information and my account password, I don't require to run an email server in order for my scripts (e.g. Joomla Social and WordPress BuddyPress) to send out email messages to non-local email addresses like @yahoo.com or @hotmail.com


Correct?


To configure SMTP server in WordPress you can install this plugin:
http://wordpress.org/plugins/configure-smtp/


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Sending Email
mehrdod
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : tidus January 17, 2014, 6:37 am
Quote From : mehrdod January 16, 2014, 2:18 pm
Thank you for your reply tidus.

So to understand this correctly. If I decide to configure the Email Setting to SMTP and enter the Gmail server information and my account password, I don't require to run an email server in order for my scripts (e.g. Joomla Social and WordPress BuddyPress) to send out email messages to non-local email addresses like @yahoo.com or @hotmail.com


Correct?


No. You will only get an installation details from Ampps. We don't configure Joomla, WordPress, etc to send mails.




Thanks tidus. I used the Gmail account SMTP settings you provided and I am now getting emails after each installation and removal of a script which is nice but things like "Forget password" feature on these scripts is not able to send out email.

Now that I kinda know how the SMTP setting works I am wondering how is the function of the PHP Mail option from the email setting drop down menu? What would you guys do to get this email thing working across the board just like the hosting providers?
IP: --   

Sending Email
mehrdod
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : tidus January 17, 2014, 6:40 am
Quote From : mehrdod January 16, 2014, 2:18 pm
Thank you for your reply tidus.

So to understand this correctly. If I decide to configure the Email Setting to SMTP and enter the Gmail server information and my account password, I don't require to run an email server in order for my scripts (e.g. Joomla Social and WordPress BuddyPress) to send out email messages to non-local email addresses like @yahoo.com or @hotmail.com


Correct?


To configure SMTP server in WordPress you can install this plugin:
http://wordpress.org/plugins/configure-smtp/



Thank you for the plugin. I will go ahead and install this on my WordPress but to me this seems to be somewhat a troublesome way of getting emails if I have to configure each script separately with different plugins and modules just to send out emails. What about applications like OxWall? Do users get registration and notification messages from my localhost if I had only setup the Gmail SMTP or do I have to look for a plugin for OxWall as well?

Is there a more concrete way of setting up an email so that any script could send out emails without requiring any modifications or third party plugins?
IP: --   

Sending Email
BBC2013
Group: Member
Post Group: Newbie
Posts: 15
Status:
Quote From : tidus January 16, 2014, 7:52 am


Select SMTP:
SMTP Server : ssl://smtp.gmail.com
SMTP Port : 465
SMTP Username : Your Gmail Email Address
SMTP Password : Password of your Gmail Account


What is this "ssl" ? If i type it it doesnt reflect in php:
$globals['mail_server'] = 'smtp.gmail.com';

Then this, is this OK when SMTP is activated ?
$globals['mail'] = 0;

Cannot get it to work. It works in one separate website with same settings, Drupal SMTP plugin.
IP: --   

Sending Email
Meem
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi i know its an old topic, but i just installed the new AMPPS 4.9.3 and i need to configure an smtp account so that my apps can send email.
so by reading all that i could find on the web, i know that i need to go to Admin panel and email setting and choose Email method but there is no email method to choose from.


Do i need to change some setting in my PHP ?

Please help.

Please find attached screen shot of my available email settings.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 10:42 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025