Jump to content

Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "mail@genasiabiotech.com" port 26, verify yo


Recommended Posts

$message= "$first <br />
  $last <br />
  $pass

  <p>Your email address will serve as your username.</p>
  <p>Thank You!</p>";

echo"$message";

$send_to= $email;
$subject= "Register";
$headers .= 'From: '.$email.'' . "\r\n";
$headers .= "Reply-To: [email]roxanie.alcances@yahoo.com[/email]\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 8bit;\r\n\r\n";
$headers .= stripslashes($input);
$headers .= "\r\n";

mail($email,$subject,$message,$headers);

 

here is my php.ini settings

[mail function]

; For Win32 only.

; http://php.net/smtp

SMTP = mail@genasiabiotech.com

; http://php.net/smtp-port

smtp_port = 26

 

; For Win32 only.

; http://php.net/sendmail-from

sendmail_from = mail@genasiabiotech.com

Does the server require authentication? Can you connect to it? Are there any error messages? Have you tried troubleshooting this on your own? Tried running some search terms through Google?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.