Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    38

    Send mail from web form using 3rd party SMTP

    Hi,

    I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working. It doesn't error, they just don't receive the mail. I've tried CCing myself in the script and the mail is not getting through. The script itself is tried and tested and syntaxially correct.

    I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.

    The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!

    I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.

    Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!

    Thanks for any pointers folks...

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,202
    You need to set the account as a remoterelay/remotehost sender.

    As the server thinks its sending to a local address.
    DigitalGoods.info
    FREE Shared, Mega Resellers + Dedicated Servers

  3. #3
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    It is possible that only authenticated mails can be relayed. In that case you have to get the information regarding the mail server and create yourself an account there
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

Posting Permissions

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