RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Resolved Issues

For more information about the ads and why they're here, please see the FAQ
Closed Thread
  #1  
Old 11-05-2007, 06:31 AM
Registered User
 
Join Date: Nov 2007
Posts: 18
Downloads: 0
Uploads: 0
Default Sending emails doesn't work

I'm having troubles sending emails. It always fails with this in the log files:
SMTP Error: SMTP error: No From address has been provided in D:\roundcube\program\steps\mail\sendmail.inc on line 334

I don't know why it's giving me this error? I have logged in using my email address, password and host. Below is my config:
$rcmail_config['smtp_server'] = 'mail.mydomain.com';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';

To test if my SMTP settings are correct, in program/includes/rcube_smtp.inc I commented the code below just to see if my email would be sent:
// exit if no from address is given
// if (!isset($from))
// {
// smtp_reset();
// $response[] .= "No From address has been provided";
// return FALSE;
// }

After doing this my email was sent but from "Nobody <Nobody>". Why is my from info being lost?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-05-2007, 06:39 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Sending emails doesn't work

If you go to settings then identities is there anything listed?
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-05-2007, 06:48 AM
Registered User
 
Join Date: Nov 2007
Posts: 18
Downloads: 0
Uploads: 0
Default Re: Sending emails doesn't work

Ah you are correct, this was the problem. As simple as this is, it's really hard to expect users to fill out the identities section. I think a good way for this to work is the first time a user signs in, they are prompted with a page to fill out their settings and preferences, which would include the crutial piece of having identity information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-05-2007, 09:34 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Sending emails doesn't work

Yes well it auto makes it at the first loin but some time it dn't work right.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 04:25 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community