i have just succesfully installed open atrium, but i can't find the configuration of the mailserver... i currently cant send any mails because there is no SMTP Server defined, an without mails being send, no new users can be registered, because they recieve their pasword via mail...
i hope that somebody can help me :)
Assuming Open Atrum works the same way as drupal this should help in short:
Set up a mail server locally
change your php.ini settings to point to a mail server
You should probably be using the SMTP module.
According to the OpenAtrium Installation docs, all you need to do is enable the [standard Drupal cron job]. That worked for me in my OpenAtrium installation. Just to be clear, I did not have to alter php.ini or install the Drupal SMTP module.
Related
i want to send mail via php mail() function.
now i need to install SMTP server on my computer for this one work.
i donwloaded the hMailServer, but i dont know what i need to setup there.
also, what i need to setup in the php.ini file?
i read some tutorials while searching google, but didnt work for me.
i dont want to use phpMailer with Gmail SMTP server, i want to send it from the SMTP server that found on the server.
also, before i was tried to setup send mail in php.ini, maybe i change there somthing and now i need to change it back, so i dont know what to change back, please tell me all things that i need to define for hMail will work...
Can anybody please help me in configuring smtp server with phplists.
I am using zoho mail for custom domain.
I am using recent version of phplist.
Thank you.
You have to set various settings in the config file, mainly phpmailerhost:
https://resources.phplist.com/system/sending
I have a contact page that I made following this tutorial, when I click send I get a message telling me that the message has been sent, but I ain't receiving any email, I'm trying to test it locally with xampp v3.1.0, I read that I have to change the smtp in php.ini, but it didn't work either.
I want to test it with my localhost, what do I have to do?
As can be seen in the link "Mail" in XAMPP homepage (i.e. "localhost"), with the default configurations of the XAMPP, mails sent by the php mail function can be found in ".../xampp/mailoutput" folder (Windows). This is useful for test purposes.
Maybe your change to the "php.ini"s SMTP directive can be a problem to this approach.
You often don't have mail capability from your local server unless you specifically set it up that way. If you want to be able to send mail locally, refer to this link. Of course, there are other ways, such as installing hMailServer or some other smtp server, but you should have sendmail as part of your Xampp installation.
I just installed XAMPP, Apache is running, so is MySQL and Mercury.
In Dreamweaver I created a php file with a mail($to,$subject,$msg,'From:'.$email); function, but when I ran the file from localhost it showed an error. After playing around with xampp control panel, turning mercury on and off, it's not showing any errors, yet is not send the email either... any ideas?
the 'admin' button on the cp for mercury does nothing.
Thanks!
R
You would have to configure the mercury server bundled with xampp to actually deliver/relay the mails.
But I suggest you use something like SwiftMailer instead of php's mail() function.
edit: there is a third option. The mini-smtp-client built into php/win32 can't do authentication. Therefore you can't simply put SMTP=mail.gmail.com; smtp_port=25 in your php.ini. But you can set sendmail_path and point to an application that can relay the message to another smtp server (including authentication), e.g. fake sendmail.
(But I still suggest swiftmailer)
You do not need to use a SMTP server like Mercury to send mails from your PHP.
I personally used two days on this matter, now expert in Mercury, almost, since it never worked with PHP.
Save a lot of time and use SWIFT MAIL, standalone solution, no SMTP server needed - the first example at this link works ! Swift mail is very elegant. Only needed is to download and add the lib folder in your php path. When the mail with the message "Wonderful Subject" ticks in the mailbox at first try, it is indeed a wonderful lib.
http://swiftmailer.org/docs/sending.html
You have to set your SMTP server settings in the php.ini file
I'm running my own LAMP server locally.
Something i need to setup?
Should it be able to send email using php-mail,
without havin to configure smtp.
Check your phpinfo() information for STMP and the port. Do a test.php file and try to execute this.
mail('email#example.com', 'My Subject', 'Hello World');
http://drupal.org/node/11570
That thread will help you out.
Drupal basically patches into the php mail function, so as with that you either need a mail server installed locally with your lamp setup, or to point apache towards an external or smtp server in your php.ini file.
Ah fixed it, well i didn't-one of our developers did.
Apparently Drupal only uses 'Send Mail' so you have to have it installed, wont use php-mail.
For future reference/research:
try the Drupal module SMTP Authentication Support. I have yet to test it.