 |
| << | September 2010 | >> |
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
|
|
|
|
|
 |
 |
|
| Goto page Previous 1, 2, 3, 4 Next |
vikas Post subject: Re: 1and1 hosted server installation Senior Member
|
Tue Mar 31, 2009 7:25 am Posts: 201
|
| |
|
| The output of SMTP will appear in the UI itself like in the Compose template ,when you send mail it will print it there.
|
|
|
|
|
 |
googol Post subject: Re: 1and1 hosted server installation
|
Tue Mar 31, 2009 10:33 am Posts: 34
|
| |
|
| Thanks vikas. I can see the output for a second after I send an email, but I disappears as soon as the email module re-appears. Any idea how I can capture the smtp debug output? Thanks
|
|
|
|
vikas Post subject: Re: 1and1 hosted server installation Senior Member
|
Tue Mar 31, 2009 10:56 am Posts: 201
|
| |
|
| when you see the message immediately click on the esc and check its Page source.You will see the sequence of action taken to send mail.
|
|
|
|
googol Post subject: Re: 1and1 hosted server installation
|
Tue Mar 31, 2009 12:23 pm Posts: 34
|
| |
|
Okey dokey
After much trial and error (and finger twitching), I managed to get the SMTPDebug output. There are 2 issues which come to light.
The first time I used the server mrvnet.kundenserver.de because Vtiger seems to be able to resolve it's ip address and contact the server. The error in the SMTP log is as follows:
"ERROR: AUTH not accepted from server: 504 LOGIN mechanism not supported"
I then changed the server address to auth.smtp.1and1.co.uk. I could not do this from the settings screen as Vtiger gives the error "Mail could not be sent to the admin user. Please check the admin emailid/Server settings" Instead I used Phpmyadmin and edited the table directly. This time there is no debug output, only the error "Please check the current user mailid.It should be a valid mailid to send Emails"
Any more ideas anyone?
|
|
|
|
vikas Post subject: Re: 1and1 hosted server installation Senior Member
|
Wed Apr 01, 2009 5:07 am Posts: 201
|
| |
|
| Hi since you have edited the table directly it doesn't mean your outgoing server is configured.Usually you will get this message when it is not configured.Did you increase the Timeout in class.phpmailer.php file?
|
|
|
|
googol Post subject: Re: 1and1 hosted server installation
|
Wed Apr 01, 2009 6:41 am Posts: 34
|
| |
|
Hi vikas. I edited the table manually because it's the only way I could get the server name accepted. Using the correct method in settings/outgoing server always gives an error. However I have found that this problem is not just a Vtiger one. I installed Sugarcrm to see if that suffered from the same issues, and it does. The error message it gives is:
"Warning: fsockopen() [function.fsockopen]: unable to connect to tcp://auth.smtp.1and1.co.uk:25 (Connection refused) in /homepages/15/d81613494/htdocs/sugarcrm/include/phpmailer/class.smtp.php on line 104
Error emailing:SMTP Error: Could not connect to SMTP host."
There is clearly an issue with 1and1 not allowing access to it's mail server using scripts. However Sugarcrm lets me choose to use Sendmail instead of SMTP and Sendmail works correctly. Is there any way to make Vtiger use Sendmail instead of SMTP?
I will email 1and1 to see if they can throw any more light on the mater.
|
|
|
|
googol Post subject: Re: 1and1 hosted server installation
|
Wed Apr 01, 2009 1:02 pm Posts: 34
|
| |
|
OK, I have the official word from 1and1 now. Here are the relevant parts of the email I received from support:
"To be able to send email through php scripting, we advise you to use the PhpMail module or SendMail to bypass the SMTP connection and port blocks. We have an article below which you may find helpful.
How to Setup PhpMail: http://faq.1and1.com/search/go.php?t=e657019
By default the Php settings in Apache server is set to localhost. Shared web hosting packages are not really capable of sending through SMTP using php scripts for security reasons. Your scripts would work on Dedicated server package because you can turn off the port blocking."
So the answer now is clear, we need to find a way of getting Vtiger to use the Phpmail module or Sendmail. If anyone knows how to do this then could they let me know. Once this is done I think I can write up a FAQ for 1and1 shared hosting users which may equally apply to other shared hosts. I think it's important this is done as I see there are many SME's that use these shared hosting packages and it has the potential to increase the Vtiger user base.
|
|
|
|
| |