Development vbulletin problem with sending mail

Discussion in 'Software' started by Star, 11 May 2005.

  1. Star

    Star What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    272
    Likes Received:
    0
    Hi there all there is an email problem. Hi there all, it appears since moving host, that my vbulletin doesnt send mail to anyone, me, my friends, no body, could anyone give me a hand here? Thanks.

    With th e -f parameter it simply returns any mail not routed to me domain back saying this domain is unroutable. I can send and recieved via outlook express fine. I have tried the smtp hack on vb.org without success, anyone have an idea? Thanks
     
  2. ajack

    ajack rox

    Joined:
    17 Apr 2003
    Posts:
    2,695
    Likes Received:
    2
    Sure the mail settings are right in php.ini? eg Can you send mail from a php script?
     
  3. Star

    Star What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    272
    Likes Received:
    0
    Could you give me a php script which would do it?
     
  4. Murdoc

    Murdoc Gas Mask..ZOMG

    Joined:
    25 Jul 2003
    Posts:
    2,496
    Likes Received:
    1
    use mail('address', 'subject', 'message');

    something like
    PHP:
    <?php

    mail
    ('foo@bar.com''free sex''you can have lots');

    ?>
    That should do the job, just change the address as required.

    'doc
     
  5. Star

    Star What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    272
    Likes Received:
    0
    Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/star/public_html/maily.php on line 3

    Parse error: parse error, unexpected T_STRING in /home/star/public_html/maily.php on line 3 thatsw hat i got
     
  6. ajack

    ajack rox

    Joined:
    17 Apr 2003
    Posts:
    2,695
    Likes Received:
    2
    What was the exact script you're using? Post the contents please, so we can see why line 3 is erroneous.
     
  7. TheAnimus

    TheAnimus Banned

    Joined:
    25 Dec 2003
    Posts:
    3,214
    Likes Received:
    8
    make sure you've copied it properly.

    also you can try swapping the ' with "

    but it sounds like a strange error.
     
  8. Star

    Star What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    272
    Likes Received:
    0
    PHP:
    <?php

    mail
    ("star.s@ntlworld.com"'free sex''you can have lots');

    ?>
    Thats it.
     
  9. Star

    Star What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    272
    Likes Received:
    0
    Thats with the " changed the error is the same.
     

Share This Page