Hi,
Is it in the new build still possible to mail without smtp settings just using mail()?
Now I get a message to contact the admin. I suppose I have to change some settings.
Johan
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
mail without smtp
Re: mail without smtp
Hi,
Now I've changed config.php to mail. Now my mail is sending but the document does'nt open.
I get this error
Am I missing a setting?
Johan
Now I've changed config.php to mail. Now my mail is sending but the document does'nt open.
I get this error
With previous version of Nubuilder the mail function worked fine.Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Am I missing a setting?
Johan
-
- Posts: 38
- Joined: Mon Jul 25, 2011 4:00 am
Re: mail without smtp
Hi Johan,
As a part of our efforts to make nuBuilder more secure and easier for people to set up; nuBuilder no longer needs the Server on which it resides to run an SMTP service in order to send emails. This being said, nuBuilder still requires some kind of SMTP server.
Quote from the WIKI:
==================
Note: The variables $NUMailMethod, $NUSMTPHost, $NUSMTPUsername, $NUSMTPPassword, $NUSMTPUseSSL, and NUSMTPPort are no longer used in nuBuilder. The nuSendEmail() function inside nuBuilder reads these settings from the zzsys_setup table. NuBuilder requires you to enter your SMTP Server information in order to send emails.
Eg. in order to have GMail be your SMTP server, you would enter the following in the Email Settings on the Setup Tab of nuBuilder.
Auth SMTP username: user@gmail.com
Auth SMTP password: myPassword
Auth SMTP host: smtp.gmail.com
Auth SMTP From Address: user@gmail.com
Auth SMTP From Name: Company Email
Auth SMTP port: 465
Auth SMTP use SSL: YES
So, the easiest way to get email working is to go to http://www.google.com and set up a gmail account. Log in to this account and send/receive a few emails, then use the above info (with your new username/password) in nubuilder.
The other benefit with using this method is that ALL emails sent from nuBuilder will be in the sent items of the GMail Account.
Hope this helps
Pickle Jimmy
As a part of our efforts to make nuBuilder more secure and easier for people to set up; nuBuilder no longer needs the Server on which it resides to run an SMTP service in order to send emails. This being said, nuBuilder still requires some kind of SMTP server.
Quote from the WIKI:
==================
Note: The variables $NUMailMethod, $NUSMTPHost, $NUSMTPUsername, $NUSMTPPassword, $NUSMTPUseSSL, and NUSMTPPort are no longer used in nuBuilder. The nuSendEmail() function inside nuBuilder reads these settings from the zzsys_setup table. NuBuilder requires you to enter your SMTP Server information in order to send emails.
Eg. in order to have GMail be your SMTP server, you would enter the following in the Email Settings on the Setup Tab of nuBuilder.
Auth SMTP username: user@gmail.com
Auth SMTP password: myPassword
Auth SMTP host: smtp.gmail.com
Auth SMTP From Address: user@gmail.com
Auth SMTP From Name: Company Email
Auth SMTP port: 465
Auth SMTP use SSL: YES
So, the easiest way to get email working is to go to http://www.google.com and set up a gmail account. Log in to this account and send/receive a few emails, then use the above info (with your new username/password) in nubuilder.
The other benefit with using this method is that ALL emails sent from nuBuilder will be in the sent items of the GMail Account.
Hope this helps
Pickle Jimmy
Re: mail without smtp
Pickle Jimmy,
Now I'm using smtp (even mail worked) but the problem is that the receiver can't open the attach.
There we get the message:
In previous version the mail function worked. On update I only replaced productionnu2 and run Schema Changes
any idea what's causing the problem?
Johan
Now I'm using smtp (even mail worked) but the problem is that the receiver can't open the attach.
There we get the message:
The permissions on temppdf are 775.Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
In previous version the mail function worked. On update I only replaced productionnu2 and run Schema Changes
any idea what's causing the problem?
Johan
-
- Posts: 38
- Joined: Mon Jul 25, 2011 4:00 am
Re: mail without smtp
Hi Johan,
It may not be a Linux directory permission, it could be an Apache permission. A Google search of your particular error points at using an htaccess file to set the permissions for stopping access (or restricting access) to a particular directory. Is there an Apache permission that is stopping php accessing the temppdf directory?
Cheers
PJ
It may not be a Linux directory permission, it could be an Apache permission. A Google search of your particular error points at using an htaccess file to set the permissions for stopping access (or restricting access) to a particular directory. Is there an Apache permission that is stopping php accessing the temppdf directory?
Cheers
PJ
Re: mail without smtp
PJ,
We use Ldap authentication on our server. When we turn it of everything works fine. So it's not a Nubuilder problem.
Thanks again,
Johan
We use Ldap authentication on our server. When we turn it of everything works fine. So it's not a Nubuilder problem.
Thanks again,
Johan