Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Am I coding Sendmail correctly?
Old 05-08-2006, 08:18 PM Am I coding Sendmail correctly?
NevadaSam's Avatar
Novice Talker

Posts: 6
Trades: 0
Am I coding Sendmail correctly?

This is the proper location of sendmail on the server I am using. Is this the proper way to code the location in my script.

use /usr/lib/sendmail;


$mail{Smtp} = 'netfirms.com';


I am not really sure if the SMTP address is correct.
This is the program I am working on at this time: http://www.cvtc.netfirms.com/sun.html I can provide the complete code if necessary.
NevadaSam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-09-2006, 05:32 AM Re: Am I coding Sendmail correctly?
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Not sure about the first question, but the SMTP server doesn't look right - that's a domain name, not a host name - it'll most likely be mail.netfirms.com or smtp.netfirms.com - check with your host.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 05-09-2006, 08:40 AM Re: Am I coding Sendmail correctly?
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
If your looking for the sendmail binary its under "/usr/sbin/sendmail"
If your looking for the perl smtp module : use NET::SMTP;

Your $mail{smtp} looks fine. Try loading the correct module.

If you have not got that module but have access to your server you can run

perl -MCPAN -e 'install NET::SMTP' (as root) otherwise check with your ISP to make sure they have that module (or another similar module).

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to Am I coding Sendmail correctly?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11777 seconds with 12 queries