Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Form Mail question

Is it possible to use an outside mail server using FormMail?
This is the only code I found that calls the previously defined $mailprog string:
   open(MAIL,"|$mailprog -t");
I understand that the code here opens the interpreted command after the pipe, but what do i need to change in order to use a mail prog off another server?

Many sincere thanks in advance,
Jon
0
charlatan101998
Asked:
charlatan101998
1 Solution
 
b2piCommented:
perldoc Net::SMTP should help out.  Feel free to ask follow on questions
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now