JMail intermitant problem - Does NOT always send mail.

Discussion in 'Classic ASP' started by BarrySumpter, Nov 11, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. The jmail email works most of the time.

    But once a month or so JMail seems to get lost.

    Like right now I've attempted to send numerousJMails to myself but to no avail.

    Any help would be greatly appreciated.






    Thanks,
    Barry G. Sumpter
     
  2. I swear this code worked 5 times in a row then stopped with:
    Mail send failure. Error was The message was undeliverable. All servers failed to receive the message

    Any help would be greatly appreciated....



     
  3. OK a few more tests show that the emails that ARE being sent are my discoutasp.net email addresses.

    All other emails are returning the error listed above.


    Thanks,
    Barry G. Sumpter
     
  4. Received this reply from support:
    ......Change the smtp server in your code to "localhost". This should fix the problem.


    I always get reminded how vague and short an answer can get. Thanks for reminding me.


    So which line do I change?


    SetobjNewMail=Server.CreateObject("Jmail.smtpmail")
    or
    objNewMail.ServerAddress="mail.ServerAddress.com"



    After another 10 mins of variations I changed to code to:


    SetobjNewMail=Server.CreateObject("Jmail.smtpmail")
    objNewMail.ServerAddress="localhost"

    Yes that fixed the error but I'm still receiving only the emails sent to my discountasp.net accounts.


    And not my bigpond.net.au accounts.


    Any other thoughts?


    A verbose reply would be appreciated.







    Thanks,
    Barry G. Sumpter
     
  5. It was support who finally chased this down.

    It was my .sender property as in [email protected]

    discoutasp.net would allow an invalid sender format

    but bigpond.net.au would not.

    Man that had to have been a pain for support as it was for me.

    thanks heaps!




    Thanks,
    Barry G. Sumpter

    Post Edited (BarrySumpter) : 11/15/2005 2:24:58 AM GMT
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    you know what i found!

    Jmail somehow would scramble the sender name which i found that some mail server didn't liek.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  7. Hi Bruce,
    Thanks for the reply.

    Up until you and your support people chased this down for me I would certaily have believed it.

    But un till now - I have not experieced any scrambling as yet.
    But will be on the lookout.

    Thanks
    Barry G. Sumpter


    Thanks,
    Barry G. Sumpter
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page