i need drupal to work without STMP i was wondering if it is possable to convert the drupal stmp system over to php mail() this is critical as my job depends on it
i need drupal to work without STMP i was wondering if it is possable to convert the drupal stmp system over to php mail() this is critical as my job depends on it
Comments
Comment #1
damien tournoud commentedDrupal calls mail() directly, and doesn't use any SMTP server directly.
Comment #2
keith.smith commentedComment #3
damien tournoud commentedComment #4
caelan commentedare you sure becuase i have php mail() scripts that work but the stmp dosent and i have contacted my IT and they say cause the STMP is disabled it will not work... is there a way around this
Comment #5
CalebD commentedYes, all mail ultimately is sent by drupal_mail_send, which calls PHP's mail directly. See http://api.drupal.org/api/function/drupal_mail_send/6
If the mail call is failing, there should be an error in watchdog.
You'll likely need to diagnose this at the PHP level.
Comment #6
caelan commentedok
Comment #7
caelan commentedComment #8
caelan commentedwhat about running the STMP/mail through another server but keeping the drupal hosted at my current one ( example "drupal location:http://mydrupalsite.com" "STMP location: http://mystmpsite.com") and have drupal run its email protocols through the other server
PS i have full access to both servers
Comment #9
keith.smith commentedComment #10
gpk commentedYou can maybe use http://drupal.org/project/smtp to send email via another SMTP server?
Comment #11
caelan commentedum i tryed that but i am rather new with drupal and i could not fiqure out how to get it working correctly
Comment #12
gpk commentedIt should just be a matter of putting the details of the SMTP server in the module's settings page. Suggest you try opening a support req. against that project if you can't work it out ... it was fairly straightforward when I last used the module, but that was quite a while ago.
Comment #13
caelan commentedi get this message:::
* warning: fsockopen() [function.fsockopen]: unable to connect to smtp.gmail.com:25 (Connection timed out) in /home/caelan/public_html/home/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
* warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/caelan/public_html/home/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
* warning: fsockopen() [function.fsockopen]: unable to connect to :25 (Unknown error) in /home/caelan/public_html/home/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
* Unable to send e-mail. Please contact the site admin, if the problem persists.
Comment #14
gpk commentedChanging project and title - I think you'll get more help here.
Also worth checking/searching the project's issue queue. http://drupal.org/project/issues/smtp?states=all
Comment #15
caelan commentedthx i think ill just open a new post