SMTP Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    SMTP Error



    Hi Ivo,
    I was actually using this:

    <mvsmtp to="{ l.group }" subject="{ about }" mailhost="**********"
    from="************" cc="{ from }">
    <MvEVAL EXPR="{'MIME-Version: 1.0' $ l.cr}">
    <MvEVAL EXPR="{'Content-Type: text/html; charset="iso-8859-1"' $ l.cr}">

    I think I got that from your site, but didn't do it completly.

    I have adjusted it to not handle html email, but also, did not add the
    tracking info. IP's are logged, as well as the time/date and other general
    info. Any ISP would respond to abusing an email system (including aol).

    Its my hope that this community will continue to use the system as needed,
    and respect it as well. If not, I'll add in the info you suggested and log
    it locally.

    Bill


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Ivo Truxa
    Sent: Saturday, January 29, 2005 6:54 AM
    To: 'Miva-Users'
    Subject: RE: [meu] SMTP Error


    From: Bill Gilligan
    >
    > No idea. Never used that tag inside an email.

    Actually, Bill, it looks to me that you are using exactly this two
    additional header lines and exactly in this wrong way also in your script
    sending emails to the list from the MvCentral. This is why all messages from
    MvCentral coming to the list contain the two header lines at the top of the
    message body.

    Header lines must be part of the SMTP header, and hence you must NOT put nay
    blank lines before them. Besides it, if you use the script to send email to
    the list (like in Bill's case), then you should definitely avoid the
    html/text Content-type - that violates the list policies - the email to the
    list should be plain-text only.

    And, Bill, to avoid the recent heat you are getting because of anonymous
    posts to the list from your website, I would suggest adding the following
    code inside your MvSMTP command. Of course, you should warn users on the
    script front, that they are no more posting anonymous:

    <MvASSIGN NAME="l.cr" VALUE="{asciichar(13) $ asciichar(10)}">
    <MvEVAL EXPR="{l.cr $
    'ID: ' $ s.callerid $ l.cr $
    'IP: ' $ s.remote_addr $ l.cr $
    'Host: ' $ s.remote_host $ l.cr $ l.cr
    }">

    If you prefer hiding the information in the SMTP header, just remove any
    line-breaks between the MvSMTP tag and the code - the poster info can be
    then viewed in the SMTP header instead of the body. I am not sure though if
    Miva's list server would pass them all through - it definitely removes some
    header lines from the original sender (but I think it may work anyway):

    <MvEVAL EXPR="{
    'X-poster-ID: ' $ s.callerid $ l.cr $
    'X-poster-IP: ' $ s.remote_addr $ l.cr $
    'X-poster-Host: ' $ s.remote_host $ l.cr $ l.cr
    }">


    If HTML format is wanted, then besides the content type, the correct
    separator (CF/LF pair), you should also use the <html> ... <body>
    ...</body></html> tags. Although most email clients do not really care about
    it (just like most browsers do not care), but it is definitely not correct
    and may not display correctly on other clients.

    The correct way of formatting HTML email is documented here:


    Ivo Truxa

    | http://miva.truxoft.com
    | Advanced Miva Merchant modules





    -----Original Message-----
    From: Bill Gilligan


    No idea. Never used that tag inside an email.

    Do you have that inside the MVSMTP ?

    Try it without.
    Bill

    -----Original Message-----
    From: Jonathan Coulter


    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: Bill Gilligan


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill



    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    Thanks for the info Ivo.
    I will take it into consideration. But honestly, I don't 'want' to track
    anyone. heck, its just a free service to the community.

    As to how its being done, - well, I put it on line over 2 years ago - so I
    honestly don't remember. Now that I am forced to review everything (thanks
    to the jerk that posted) we'll see what happens.

    Bill


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Ivo Truxa
    Sent: Saturday, January 29, 2005 6:54 AM
    To: 'Miva-Users'
    Subject: RE: [meu] SMTP Error


    From: Bill Gilligan
    >
    > No idea. Never used that tag inside an email.

    Actually, Bill, it looks to me that you are using exactly this two
    additional header lines and exactly in this wrong way also in your script
    sending emails to the list from the MvCentral. This is why all messages from
    MvCentral coming to the list contain the two header lines at the top of the
    message body.

    Header lines must be part of the SMTP header, and hence you must NOT put nay
    blank lines before them. Besides it, if you use the script to send email to
    the list (like in Bill's case), then you should definitely avoid the
    html/text Content-type - that violates the list policies - the email to the
    list should be plain-text only.

    And, Bill, to avoid the recent heat you are getting because of anonymous
    posts to the list from your website, I would suggest adding the following
    code inside your MvSMTP command. Of course, you should warn users on the
    script front, that they are no more posting anonymous:

    <MvASSIGN NAME="l.cr" VALUE="{asciichar(13) $ asciichar(10)}">
    <MvEVAL EXPR="{l.cr $
    'ID: ' $ s.callerid $ l.cr $
    'IP: ' $ s.remote_addr $ l.cr $
    'Host: ' $ s.remote_host $ l.cr $ l.cr
    }">

    If you prefer hiding the information in the SMTP header, just remove any
    line-breaks between the MvSMTP tag and the code - the poster info can be
    then viewed in the SMTP header instead of the body. I am not sure though if
    Miva's list server would pass them all through - it definitely removes some
    header lines from the original sender (but I think it may work anyway):

    <MvEVAL EXPR="{
    'X-poster-ID: ' $ s.callerid $ l.cr $
    'X-poster-IP: ' $ s.remote_addr $ l.cr $
    'X-poster-Host: ' $ s.remote_host $ l.cr $ l.cr
    }">


    If HTML format is wanted, then besides the content type, the correct
    separator (CF/LF pair), you should also use the <html> ... <body>
    ...</body></html> tags. Although most email clients do not really care about
    it (just like most browsers do not care), but it is definitely not correct
    and may not display correctly on other clients.

    The correct way of formatting HTML email is documented here:


    Ivo Truxa

    | http://miva.truxoft.com
    | Advanced Miva Merchant modules





    -----Original Message-----
    From: Bill Gilligan


    No idea. Never used that tag inside an email.

    Do you have that inside the MVSMTP ?

    Try it without.
    Bill

    -----Original Message-----
    From: Jonathan Coulter


    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: Bill Gilligan


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill



    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    From: Bill Gilligan
    >
    > No idea. Never used that tag inside an email.

    Actually, Bill, it looks to me that you are using exactly this two
    additional header lines and exactly in this wrong way also in your script
    sending emails to the list from the MvCentral. This is why all messages from
    MvCentral coming to the list contain the two header lines at the top of the
    message body.

    Header lines must be part of the SMTP header, and hence you must NOT put nay
    blank lines before them. Besides it, if you use the script to send email to
    the list (like in Bill's case), then you should definitely avoid the
    html/text Content-type - that violates the list policies - the email to the
    list should be plain-text only.

    And, Bill, to avoid the recent heat you are getting because of anonymous
    posts to the list from your website, I would suggest adding the following
    code inside your MvSMTP command. Of course, you should warn users on the
    script front, that they are no more posting anonymous:

    <MvASSIGN NAME="l.cr" VALUE="{asciichar(13) $ asciichar(10)}">
    <MvEVAL EXPR="{l.cr $
    'ID: ' $ s.callerid $ l.cr $
    'IP: ' $ s.remote_addr $ l.cr $
    'Host: ' $ s.remote_host $ l.cr $ l.cr
    }">

    If you prefer hiding the information in the SMTP header, just remove any
    line-breaks between the MvSMTP tag and the code - the poster info can be
    then viewed in the SMTP header instead of the body. I am not sure though if
    Miva's list server would pass them all through - it definitely removes some
    header lines from the original sender (but I think it may work anyway):

    <MvEVAL EXPR="{
    'X-poster-ID: ' $ s.callerid $ l.cr $
    'X-poster-IP: ' $ s.remote_addr $ l.cr $
    'X-poster-Host: ' $ s.remote_host $ l.cr $ l.cr
    }">


    If HTML format is wanted, then besides the content type, the correct
    separator (CF/LF pair), you should also use the <html> ... <body>
    ...</body></html> tags. Although most email clients do not really care about
    it (just like most browsers do not care), but it is definitely not correct
    and may not display correctly on other clients.

    The correct way of formatting HTML email is documented here:


    Ivo Truxa

    | http://miva.truxoft.com
    | Advanced Miva Merchant modules





    -----Original Message-----
    From: Bill Gilligan


    No idea. Never used that tag inside an email.

    Do you have that inside the MVSMTP ?

    Try it without.
    Bill

    -----Original Message-----
    From: Jonathan Coulter


    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: Bill Gilligan


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill



    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    Sorry, should have been more specific. That tag is the first line of file,
    not within the SMTP section.

    Jon

    -----Original Message-----
    From: Bill Gilligan [mailto:[email protected]]
    Sent: Saturday, January 29, 2005 12:17 AM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    No idea. Never used that tag inside an email.

    Do you have that inside the MVSMTP ?

    Try it without.
    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 11:12 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Bill Gilligan
    Sent: Saturday, January 29, 2005 12:04 AM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 10:54 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Thanks David,

    That fixed part of it. I still got the same error message until I changed
    the FROM to a real address within <>. That allowed the email to be sent.

    However, the email was received was empty. The rest of the code is as
    follows. Maybe its too late to be working on this, it's gotta be obvious.
    Any suggestions?

    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">
    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii

    <font face="Verdana" size="2">
    The following information was entered via the website's Property Search
    Form.



    <table width=100% border=0>
    email details go here
    </table>

    </MvSMTP>

    Thanks,
    Jon


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of David Hubbard
    Sent: Friday, January 28, 2005 11:33 PM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Change your TO= to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >
    > Can anyone tell me what is wrong with this?
    >
    > <MvSMTP TO="[email protected]" FROM="{ xemail }"
    > SUBJECT="Property Search Request"
    > MAILHOST="smtp.stonewall-realty.com">
    >
    > I am getting this error message ...
    >
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >
    > Thanks!
    > Jon Coulter

    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    No idea. Never used that tag inside an email.

    Do you have that inside the MVSMTP ?

    Try it without.
    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 11:12 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Bill Gilligan
    Sent: Saturday, January 29, 2005 12:04 AM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 10:54 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Thanks David,

    That fixed part of it. I still got the same error message until I changed
    the FROM to a real address within <>. That allowed the email to be sent.

    However, the email was received was empty. The rest of the code is as
    follows. Maybe its too late to be working on this, it's gotta be obvious.
    Any suggestions?

    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">
    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii

    <font face="Verdana" size="2">
    The following information was entered via the website's Property Search
    Form.



    <table width=100% border=0>
    email details go here
    </table>

    </MvSMTP>

    Thanks,
    Jon


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of David Hubbard
    Sent: Friday, January 28, 2005 11:33 PM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Change your TO= to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >
    > Can anyone tell me what is wrong with this?
    >
    > <MvSMTP TO="[email protected]" FROM="{ xemail }"
    > SUBJECT="Property Search Request"
    > MAILHOST="smtp.stonewall-realty.com">
    >
    > I am getting this error message ...
    >
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >
    > Thanks!
    > Jon Coulter

    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    Didn't work. I have <MIVA STANDARDOUTPUTLEVEL = "text, html,
    compresswhitespace">, could that be causing a problem?

    Jon

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Bill Gilligan
    Sent: Saturday, January 29, 2005 12:04 AM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 10:54 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Thanks David,

    That fixed part of it. I still got the same error message until I changed
    the FROM to a real address within <>. That allowed the email to be sent.

    However, the email was received was empty. The rest of the code is as
    follows. Maybe its too late to be working on this, it's gotta be obvious.
    Any suggestions?

    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">
    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii

    <font face="Verdana" size="2">
    The following information was entered via the website's Property Search
    Form.



    <table width=100% border=0>
    email details go here
    </table>

    </MvSMTP>

    Thanks,
    Jon


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of David Hubbard
    Sent: Friday, January 28, 2005 11:33 PM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Change your TO= to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >
    > Can anyone tell me what is wrong with this?
    >
    > <MvSMTP TO="[email protected]" FROM="{ xemail }"
    > SUBJECT="Property Search Request"
    > MAILHOST="smtp.stonewall-realty.com">
    >
    > I am getting this error message ...
    >
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >
    > Thanks!
    > Jon Coulter

    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    Put a break between the smtp and the content.
    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">

    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii


    Bill

    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of Jonathan Coulter
    Sent: Friday, January 28, 2005 10:54 PM
    To: Miva-Users
    Subject: RE: [meu] SMTP Error


    Thanks David,

    That fixed part of it. I still got the same error message until I changed
    the FROM to a real address within <>. That allowed the email to be sent.

    However, the email was received was empty. The rest of the code is as
    follows. Maybe its too late to be working on this, it's gotta be obvious.
    Any suggestions?

    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">
    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii

    <font face="Verdana" size="2">
    The following information was entered via the website's Property Search
    Form.



    <table width=100% border=0>
    email details go here
    </table>

    </MvSMTP>

    Thanks,
    Jon


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of David Hubbard
    Sent: Friday, January 28, 2005 11:33 PM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Change your TO= to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >
    > Can anyone tell me what is wrong with this?
    >
    > <MvSMTP TO="[email protected]" FROM="{ xemail }"
    > SUBJECT="Property Search Request"
    > MAILHOST="smtp.stonewall-realty.com">
    >
    > I am getting this error message ...
    >
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >
    > Thanks!
    > Jon Coulter

    Leave a comment:


  • Guest's Avatar
    Guest replied
    SMTP Error



    Thanks David,

    That fixed part of it. I still got the same error message until I changed
    the FROM to a real address within <>. That allowed the email to be sent.

    However, the email was received was empty. The rest of the code is as
    follows. Maybe its too late to be working on this, it's gotta be obvious.
    Any suggestions?

    <MvSMTP to="<[email protected]>" subject="Property Search Request"
    mailhost="smtp.stonewall-realty.com" from="<[email protected]>">
    MIME-Version: 1.0
    Content-Type: text/html; charset=us-ascii

    <font face="Verdana" size="2">
    The following information was entered via the website's Property Search
    Form.



    <table width=100% border=0>
    email details go here
    </table>

    </MvSMTP>

    Thanks,
    Jon


    -----Original Message-----
    From: [email protected] [mailto:[email protected]]On
    Behalf Of David Hubbard
    Sent: Friday, January 28, 2005 11:33 PM
    To: Jonathan Coulter; Miva-Users
    Subject: RE: [meu] SMTP Error


    Change your TO= to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >
    > Can anyone tell me what is wrong with this?
    >
    > <MvSMTP TO="[email protected]" FROM="{ xemail }"
    > SUBJECT="Property Search Request"
    > MAILHOST="smtp.stonewall-realty.com">
    >
    > I am getting this error message ...
    >
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >
    > Thanks!
    > Jon Coulter

    Leave a comment:


  • Guest's Avatar
    Guest started a topic SMTP Error

    SMTP Error



    Change your TO=3D to have angle brackets around the
    address, <[email protected]>

    David

    Jonathan Coulter wrote:
    > Hello,
    >=20
    > Can anyone tell me what is wrong with this?
    >=20
    > <MvSMTP TO=3D"[email protected]" FROM=3D"{ xemail }"
    > SUBJECT=3D"Property Search Request"
    > MAILHOST=3D"smtp.stonewall-realty.com">=20
    >=20
    > I am getting this error message ...
    >=20
    > Runtime error in /moreinfo.mvc @ [00000000:0000008e]: moreinfo.mv:
    > Line 5: MvSMTP: 5.5.2 where is <...> in that?
    >=20
    > Thanks!
    > Jon Coulter

Working...
X