Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 21st, 2005, 08:25 AM
Oleks Oleks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 25 Oleks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 25 sec
Reputation Power: 0
Question configuration for PHP e-mail?

Hi,
I am running forum supported by vBulletin.
It is appears that I have a problem to send E-mail
from vBulletin.

I guess, this problem is because of incorrect
configuration of PHP on server.
My host has a new server. My forum was transferred
from an old to a new server. It may happen, that host
did not configure PHP e-mail options right.

Host is asking about error message. But, I have not
any error message.
Just e-mails from vBulletin are not going through.

What exactly I should ask my host?
Where to look for PHP e-mail configuration?
What to configure?

Thank you.

Reply With Quote
  #2  
Old January 21st, 2005, 01:07 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 39 m 19 sec
Reputation Power: 92
Write yourself a test script and run it to see what errors you get. The errors will probably allow you to find out what's setup wrongly.

PHP Code:
<?php
mail
("me@domain.com","Hello","Test message");
?>
__________________
- Edwin -

The General Rules Thread | The General FAQ Thread

Reply With Quote
  #3  
Old January 22nd, 2005, 05:23 AM
Oleks Oleks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 25 Oleks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 25 sec
Reputation Power: 0
Quote:
Originally Posted by edwinbrains
Write yourself a test script and run it to see what errors you get. The errors will probably allow you to find out what's setup wrongly.

PHP Code:
<?php
mail
("me@domain.com","Hello","Test message");
?>


Hi,
Send e-mail test from vBulletin is giving me these settings for Linux server:
SMTP: localhost
sendmail_from: None
sendmail_path: /usr/sbin/sendmail -t -i

Such settings are not giving me a chance to send e-mails out.

Should host change
sendmail_from: None
from “None” to some e-mail address?

Thank you.

Reply With Quote
  #4  
Old January 22nd, 2005, 08:03 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 39 m 19 sec
Reputation Power: 92
I've copied out part of the php.ini file below:

Quote:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from =

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =


So since you're using sendmail_path you're using a Unix/Linux based system so you shouldn't need to specify the sendmail_from setting. If you create the test code I wrote, what error message is displayed? Have you contacted your host to see if they're having any problems?

Reply With Quote
  #5  
Old January 22nd, 2005, 11:02 AM
Oleks Oleks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 25 Oleks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 25 sec
Reputation Power: 0
Hi,
My host is working on this since yesterday.

The point is that my e-mail test for PHP vBulletin forum at is giving me this:

SMTP: localhost
sendmail_from: None
sendmail_path: /usr/sbin/sendmail -t –i

I am able to send e-mail and receive e-mail from PHP vBulletin to e-mail address at domain hosted at this Linux server.

But, e-mails are not going to yahoo.com or hotmail.com e-mail addresses. It seams it is working well only inside local host Linux server.

I am not an expert in this. Do you have an idea.

Thank you.

Reply With Quote
  #6  
Old January 22nd, 2005, 12:55 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 39 m 19 sec
Reputation Power: 92
Quote:
Originally Posted by Oleks
But, e-mails are not going to yahoo.com or hotmail.com e-mail addresses. It seams it is working well only inside local host Linux server.


Then this means there is something wrong with the way the mail server is configured. You need to get your host to solve this problem.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > configuration for PHP e-mail?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT