WordPress.org

Ready to get started?Download WordPress

Forums

Use another servers mail() (3 posts)

  1. mzain90
    Member
    Posted 2 years ago #

    i was wondering i can use another servers mail() to work with with wordpress.

    the server im using to host wordpress doesnt allow mail, stmp doesnt work either...however there is another website that does gives me free hosting with the mail function.
    before i used wordpress i set up a contact form and uploaded the file which called the mail() on the other server and it worked like a charm
    as in i changed

    <form name="contactform" method="post" action="send_form_email.php">
    <table width="450px">
    </tr>
    <tr>
    <td valign="top">
    <label for="first_name">...

    to

    <form name="contactform" method="post" action="www.my-other-site.com/send_form_email.php">
    <table width="450px">
    </tr>
    <tr>
    <td valign="top">
    <label for="first_name">...

    and it worked like a charm

    common sense dictates that i host wordpress on that server but ive been there and it comes with its fair share limitations and issues

  2. Tim S
    Member
    Posted 2 years ago #

    It really depends how you are handling the mail. Typically, in the mail scripts that I have used, they have a line to specify the referrers so I can use them with other websites by calling the script. I would take a look at the script you are using to handle generating the mail. Are you using a specific plugin?

  3. mzain90
    Member
    Posted 2 years ago #

    i just want a contact us kinda form...
    i intend to use a plug in like contact form 7.

    the script i mentioned above was used on the site without wordpress.

    i got the code off a third party site..heres a link to the txt of it:

    im really new to this, and i want to port the whole thing to wordpress using it as a cms...
    ive got most of the site done...it did not have much content, the gallery and the contact us bits are the ones that are left

Topic Closed

This topic has been closed to new replies.

About this Topic