Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: SMTP setting

  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SMTP setting

    Hi, I am trying to set a sendmail script and having problems setting the smtp section. this is how it is set :

    # Advanced Settings SMTP email
    use Net::SMTP;
    my $send_via_SMTP = 1;
    my $mailhost = 'localhost';


    Is thew 'localhost' as it should be set or should it read something else.

    My server is gandi.net

    Thankyou

  • #2
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    I'm not entirely familiar with perl/CGI but localhost most likely won't work unless the localhost is setup as an email daemon (provider). It probably isn't so you'll have to specify the proper host, port, & credentials.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •