![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
If you go to settings then identities is there anything listed?
|
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
Yes well it auto makes it at the first loin but some time it dn't work right.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |