Client Login Area
LiveZilla Live Chat Software
Main Menu
Results 1 to 3 of 3

Thread: Send mail script

  1. #1
    Unverified User
    Join Date
    April 25, 2016
    Posts
    3

    Default Send mail script

    Hi all,
    I have a problem with one script about sending on mails.
    Here is the code:
    PHP Code:
    <%
    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="Web Enquiry from Gadgets"
    myMail.From="info@gadgets.bg"
    myMail.To="rmorfov@gmail.com"
    myMail.TextBody="Enquiry From Gadgets:" VbCrLf &
    VbCrLf "Name:
    "
    &Request.Form("name")&VbCrLf VbCrLf "Tel:
    "
    &Request.Form("telephone")
    VbCrLf VbCrLf &"Email: "&Request.Form("email") &
    VbCrLf VbCrLf &
    "Enquiry: "&Request.Form("enquiry")
    myMail.Send
    %> 
    Here is the result which I'm getting :( :

    CDO.Message.1 error '80040220'

    The "SendUsing" configuration value is invalid.

    Is anyone have idea where is mistake? - Because this script is working on other server (not ASPNIX)
    Also, I see that is need to write smtp port in script (one post at this category), but is it really that the reason about my error?

  2. #2
    ASPnix Administration Chris's Avatar
    Join Date
    October 11, 2008
    Location
    Denver, Colorado
    Posts
    787

    Default

    Hello @essay, welcome to the forums!

    For more information about sending mail using our servers - https://www.aspnix.com/kb/windows-sh...ared-services/ - we provide a classic ASP script example. You can just plug in your values and away your emails go!
    Christopher York
    ASPnix Administration Team
    www.aspnix.com

  3. #3
    Unverified User
    Join Date
    April 25, 2016
    Posts
    3

    Default

    Thank you for your answer, Chris. Now all work fine.

Posting Permissions

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