Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-27-2005, 07:55 AM
AWD AWD is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Thumbs down Vortech Whats Going On!! OSCOMMERCE SHOP OWNERS READ THIS

Maybe Im completely missing something here but whats going on with Vortech and customer communication.

I run several OSCommerce sites on my Account and suddenly i stop getting emails from the sites - no communication from Vortech as to why.

I send a trouble ticket - as there live support seems to be non existent now as this is the response i get.

Quote:
Hello,

Due to the high level of Spam and user complaints pertaining to our network, we are preventing all email from being sent from the Vortech network which does not contain a valid email sender address.

Using PHP to send Mail on UNIX:

The most common of these emails is a PHP mail function generated mail that has no sender address set. The following is the correct usage of the PHP mail() function:

mail("nobody@example.com", "the subject", $message,
"From: webmaster@yourdomain.tld", "-fwebmaster@yourdomain.tld");

In this example, "Nobody@example.com will recieve an email with the subject of "The subject" and a body of the contents of the php variable "$message".

The "From: webmaster@yourdomain.tld" is what the message header will say.

The last field, "-fwebmaster@yourdomain.tld", is setting the from address. JUST setting the "From:" in the header will NOT set the from address for the email. You MUST use this 5th field to set the senders address.


Using PHP to send Mail on Windows:

Edit the php.ini file in your home directory.

"sendmail_from=postmaster@hsphere.cc" will not work. You must use a valid senders address in this field.

Vortech makes no exceptions for improperly formatted mail.

Best Regards,

James
Vortech, Inc.


I am not an oscommerce programmer put now have to find out the problem with the code that oscommerce generates - AFTER the fact!

Vortech a simple email to your customers telling them about this would have been nice!

If im missing something here and the email was sent out I apologise but I have an awfult feeling it wasnt.

If anyone knows what i should do regards the OSCommerce code it would be appreciated.

Last edited by AWD : 01-27-2005 at 09:33 AM. Reason: Update Title
Reply With Quote
  #2  
Old 01-27-2005, 09:25 AM
jazzimac jazzimac is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
I have an OSCommerce site too & just did some testing. We're a wholesale site & do most of our business off-line, so I hadn't noticed there was an issue. Turns out I'm having the same problem. No emails are being sent for customer sign-ups or orders placed. Thanks for pointing it out, AWD.

It should pickup the email address entered in the Admin control panel. Off to investigate the php mail functions. If you find out what it is, I'd definitely be interested to know.

Btw, I've been with Vortech for a while & their support has always been outstanding.
Reply With Quote
  #3  
Old 01-27-2005, 09:35 AM
sivvaa's Avatar
sivvaa sivvaa is offline
Mr.NiceGuy
Vortech Inc. Customer
 
Oscommerce

Hi all,

I was the first to find this problem and even opened a thread here.

The Team @ Vortech worked hard and came out with the solution. (ofcourse i made them work on the code with continuous emails )

Now all is fine working with the OSC Shops.

Visit : http://forum.vortechhosting.com/showthread.php?t=9187

Last edited by sivvaa : 01-27-2005 at 09:38 AM. Reason: link add
Reply With Quote
  #4  
Old 01-27-2005, 09:38 AM
AWD AWD is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Hi What was the solution to the issue for others that will be having the issue?
I looked through your posts and couldnt find the thread you started.
Cheers
AWD
Reply With Quote
  #5  
Old 01-27-2005, 09:40 AM
sivvaa's Avatar
sivvaa sivvaa is offline
Mr.NiceGuy
Vortech Inc. Customer
 
sorry, that thread was NOT started by me.

but here it is : Visit : http://forum.vortechhosting.com/showthread.php?t=9187
Reply With Quote
  #6  
Old 01-27-2005, 09:40 AM
AWD AWD is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Oops You edited before i got that out!!
Can you make post here cause im still waiting for authorisation on this user name
(My old username email address is now defunct and i cant login to it!!)
Reply With Quote
  #7  
Old 01-27-2005, 09:41 AM
sivvaa's Avatar
sivvaa sivvaa is offline
Mr.NiceGuy
Vortech Inc. Customer
 
In the emails.php

This:

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));

Should become this:

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), "-fwebmaster@domain.com");

Where webmaster@domain.com is the address the mail is being sent from.
Reply With Quote
  #8  
Old 01-27-2005, 09:42 AM
admin's Avatar
admin admin is offline
Vortech Inc. Owner
Owner
 
Location: Orlando FL
Send a message via ICQ to admin
AWD, we did not know OSC and other "BIG" programs had coded there stuff wrong until after we made the change. We will write up something today and get it sent out, we have been super busy with other issues as well. We had our meeting yesterday and we talked about the OSC issue and such and how to fix it for new installs from H-Sphere, but I thought we sent some emails out about the php issue and to test your programs to be sure they did not work, kind of like sivvaa did. Since he tested his and was one of the first to see the issue he let us know and we were able to help them get it working again.


Sorry about that. We had no idea the programs would not send mail like the should because of coding issues.
__________________
Brad Pugh
http://www.vortechhosting.com
------

Local System/Network Monitor
http://nagios.hsphere.cc/
Login:guest Pass:guest
XML FEED http://nagios.hsphere.cc/feed.xml
------

My Other Life:
Reply With Quote
  #9  
Old 01-27-2005, 09:42 AM
saabwagon saabwagon is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
It has to do with the war on spam, that part about sending from httpd@unix00.hsphere.cc You have to hard code it.
In the Files email.php (catalog/includes/classes) and (admin/includes/classes/)
The Code:
mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));

Needs to be:

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), "-fuser@domain.com");

Where "user@domain.com" is the address the mail is being sent from and you do need to keep the "-f" part.

I could not get "find" to work on this string and found it near line 510
-Disclaimer I am not a web professional but this did work for me. Make a backup copy before you start messing with it.
Nick T
Reply With Quote
  #10  
Old 01-27-2005, 09:52 AM
jazzimac jazzimac is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Thanks everyone!!! That fixed it for me.
Reply With Quote
  #11  
Old 01-27-2005, 12:34 PM
nhdonny's Avatar
nhdonny nhdonny is offline
Go Sox, Again
Vortech Inc. Customer
 
Location: NH USA
Works great but don't forget the dope errors

Quote:
Originally Posted by saabwagon
In the Files email.php (catalog/includes/classes) and (admin/includes/classes/)
The Code:
mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));

Needs to be:

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), "-fuser@domain.com");

Where "user@domain.com" is the address the mail is being sent from and you do need to keep the "-f" part.

I could not get "find" to work on this string and found it near line 510
-Disclaimer I am not a web professional but this did work for me. Make a backup copy before you start messing with it.
Nick T

My dopey error on first try: lf, $xtra_headers)); I did delete the second bracket but forgot to change the semi-colon to a comma. Should read: lf, $xtra_headers),

Thanks for the fix and finding the problem.
__________________
Customers are all that matters, except when working on my own site!
MyGolfOuting.com - "Where Great Events Begin"
Reply With Quote
  #12  
Old 01-27-2005, 02:58 PM
kattouf's Avatar
kattouf kattouf is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: UK
Are you saying that OS Commerce does not send emails anymore? and that each customer must do that change?

Please confirm this before i tell them :-(
Reply With Quote
  #13  
Old 01-27-2005, 04:19 PM
Silverbug's Avatar
Silverbug Silverbug is offline
Custom Built Solutions
Vortech Inc. Customer
 
Location: AK, New Zealand
Send a message via ICQ to Silverbug Send a message via MSN to Silverbug Send a message via Skype to Silverbug
anyone know if this has affected candypress?
__________________
Paul Foley
Sniper Systems Ltd

Reply With Quote
  #14  
Old 01-27-2005, 04:27 PM
AWD AWD is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
I tried the solution suggested am i missing something it still doesnt seem to work?

PHP Code:
if (EMAIL_TRANSPORT == 'smtp') {
        return 
mail($to_addr$subject$this->output'From: ' $from $this->lf 'To: ' $to $this->lf implode($this->lf$this->headers) . $this->lf implode($this->lf$xtra_headers), "-customerservice@cleantech.co.uk");
      } else {
        return 
mail($to$subject$this->output'From: '.$from.$this->lf.implode($this->lf$this->headers).$this->lf.implode($this->lf$xtra_headers), "-customerservice@cleantech.co.uk");
      } 

This is my code at the moment.

Any suggestions?
Reply With Quote
  #15  
Old 01-27-2005, 04:50 PM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
From what I have seen this "-customerservice@cleantech.co.uk"
needs to be "-fcustomerservice@cleantech.co.uk"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
whats up with these hsphere email templates? kattouf Chit Chat Public 2 12-05-2004 03:12 PM
Email Issues shahed Chit Chat Public 2 03-29-2004 09:37 AM
Email Issues shahed Chit Chat Public 4 09-26-2003 07:50 PM


All times are GMT -5. The time now is 03:23 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.74421 seconds with 21 queries
[Output: 120.71 Kb. compressed to 111.63 Kb. by saving 9.08 Kb. (7.53%)]