Forum Discussion

Oferv's avatar
Oferv
Super Contributor
14 years ago

Socket error #10061 while trying to send an email

Hi,



I'm trying to send compressed results files using email via script but getting Socket error #10061 - connection refused.



here is the code:



SendMail("Email", "Host", "Sender Name", "Email", "Notification", "Hello Clare, Your application is nice.")



any idea?



Thanks

3 Replies

  • VLapidus's avatar
    VLapidus
    Frequent Contributor
    Have you specified the correct host (the second parameter)? Ask a system administrator
  • Oferv's avatar
    Oferv
    Super Contributor
    Hi,



    When taking a look at the size of the file created i see that even if i'll have all details i won't be able to send the report via email.the files are around 70 MB so it can't be send via email.



    i think the only way of sharing the results will be to point the managers to a network path where they can look at it after i'll share it.



    any other ways?



    Thanks