Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Account


Recommended Posts

Warning: mail(): SMTP server response: 550 unknown user <"Admin Vargas" <[email protected]> in R:sunflower-pcadminincludesclassesemail.php on line 462

 

Warning: Cannot modify header information - headers already sent by (output started at R:sunflower-pcadminincludesclassesemail.php:462) in R:sunflower-pcadminincludesfunctionsgeneral.php on line 83

 

After I in put the info and hit save i get this message. The info is updated howerver i still get the message.

Link to comment
Share on other sites

Thanks for the info, however i'm having a bit of trouble on the info that i have to provide for the email.php

 

in catalog/includes/classes/email.php

and after

 

if (EMAIL_TRANSPORT == 'smtp') {

 

add this and change the host, user, pass and your email address:

 

// begin

 

include(DIR_WS_INCLUDES . '/classes/class.smtp.inc');

 

$params['host'] = ''; // The smtp server host/ip

$params['port'] = 25; // The smtp server port

$params['helo'] = ''; // What to use when sending the helo command. Typically, your domain/hostname

$params['auth'] = TRUE; // Whether to use basic authentication or not

$params['user'] = ''; // Username for authentication

$params['pass'] = ''; // Password for authentication

 

$send_params['recipients'] = array("$to_addr");

// The recipients (can be multiple)

$send_params['headers'] = array("From: your email address ", "To: $to_addr", "Subject: $subject");

$send_params['from'] = 'your email address';

// This is used as in the MAIL FROM: cmd // It should end up as the Return-Path: header

$send_params['body'] = "$this->output";

// The body of the email

 

is_object($smtp = smtp::connect($params)) AND $smtp->send($send_params);

 

 

// end the smtp

 

It says to add this in the email.php and after. What do they mean by that?

What host, user, pass and your email address i'm suppose to use?

Link to comment
Share on other sites

     $params['host'] = '';    // The smtp server host/ip

$params['port'] = 25;      // The smtp server port

$params['helo'] = ''; 	 // What to use when sending the helo command. Typically, your domain/hostname

$params['auth'] = TRUE;      // Whether to use basic authentication or not

$params['user'] = '';    // Username for authentication

$params['pass'] = '';    // Password for authentication

$send_params['headers']  = array("From: your email address ", "To: $to_addr", "Subject: $subject");

$send_params['from']  = 'your email address';

 // This is used as in the MAIL FROM: cmd

 // It should end up as the Return-Path: header

What host, user, pass and your email address i'm suppose to use?

The host is going to be something like mail.yourhostsdomainname.com; it is also called the SMTP (send) server name. The email address would be the store owner's. The username and password (and host) would be the same as you would put in a mail client like Outlook Express. If you still aren't sure, I suggest you ask whomever provides the SMTP service for you. They would know the proper values to use.

 

I would simply set the helo to the domain name of the email address (i.e. the part after the @).

 

Good luck,

Matt

Link to comment
Share on other sites

     $params['host'] = '';    // The smtp server host/ip

$params['port'] = 25;      // The smtp server port

$params['helo'] = ''; 	 // What to use when sending the helo command. Typically, your domain/hostname

$params['auth'] = TRUE;      // Whether to use basic authentication or not

$params['user'] = '';    // Username for authentication

$params['pass'] = '';    // Password for authentication

$send_params['headers']  = array("From: your email address ", "To: $to_addr", "Subject: $subject");

$send_params['from']  = 'your email address';

 // This is used as in the MAIL FROM: cmd

 // It should end up as the Return-Path: header

What host, user, pass and your email address i'm suppose to use?

The host is going to be something like mail.yourhostsdomainname.com; it is also called the SMTP (send) server name. The email address would be the store owner's. The username and password (and host) would be the same as you would put in a mail client like Outlook Express. If you still aren't sure, I suggest you ask whomever provides the SMTP service for you. They would know the proper values to use.

 

I would simply set the helo to the domain name of the email address (i.e. the part after the @).

 

Good luck,

Matt

 

Were is this script going on the top or bottom of the email.php file

Link to comment
Share on other sites

You would put the code after the line
 if (EMAIL_TRANSPORT == 'smtp') {

which will already be in email.php.

 

Good luck,

Matt

 

One more question do I delate the rest of the script which is already there. Meaning the rest of the smtp

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...