Sending e-mail using others credentials - email

Given we have these emails:
1 (first-email) - sender#gmail.com
2 (second-email) - realsender#gmail.com
3 (third-email) - receiver#gmail.com
The question is:
How to send an email from (second-email) to (third-email) as (first-email) programmatically ?
// (changing from as to be (second-email))
Notes
1- We have a full access to (second-email).
2- The domain of first-email isn't static, it can be changed from gmail to any other email servers and custom domains.
3- We cannot depend on first-email domain to get access permissions.
Is there any solutions or just email protocol doesn't supports this kind of actions ?

Related

TYPO3 tt_products: send a tracking email on status change to admin as well as user

I use tt_products 2.7.18 on TYPO3 6.2.25.
I configured orderEmail_to to the admins email address.
When an order is placed the customer and the admin gets a respective email - as expected.
But when I change the tracking status, only the customer gets an email.
The manual does not tell me how to configure and I'm starting to question the possibility altogether.
Can anyone tell me if and how to configure?
Thanks in advance.
plugin.tt_products {
...
orderEmail_to = admin#emaildomain.com
...
}
It is correct to set the orderEmail_to. You should check in the TypoScript Object Browser (backend module Template) that this setup is applied on your tracking page id, where in this example I have given "admin#emaildomain.com" as the admin's email address.
Only the tracking status numbers between 50 and 59 will send a notification email to the customer.
tt_products 2.7.27 is already available. Maybe your version 2.7.18 is already outdated.

Django-allauth sends verification emails from webmaster#<servername>

How can I set custom email address to be used in "From:" section of all emails, which a sended by django-allauth to users?
By default, users receives emails from webmaster#name_of_my_ubuntu_server - it looks ugly. I want to use something like info#website.com.
Add the following line to your settings.py:
DEFAULT_FROM_EMAIL = "info#website.com"

Typo3 (sr_feuser_register): Send email to user on admin approval

I'm using the Typo3 extension sr_feuser_register. There are several email options available depending on the configuration of the user registration process.
In my case I set:
plugin.tx_srfeuserregister_pi1 {
enableAdminReview = 1
enableEmailConfirmation = 0
# ...
}
I miss an option to send an email to the user on admin approval (with having users confirmation disabled).
Have I overlooked something?
[Update]
It looks as if the problem doesn't directly result from an incorrect plugin configuration because the email is sent in some cases.
Have you tried to set the constant enableEmailOnApprove to 1 ?
This send an email to the frontend user after aproval by the admin.

How to send an email by Smalltalk application using Gmail / Yahoo / Outlook

Is it possible to send an email from Smalltalk using a Gmail account? I have configured my company mail server with Smalltalk to send email, but that's not going to cut it when I distribute the application. Answers with any of using Outlook, Yahoo or Gmail are acceptable.
You should state which Smalltalk you are using since there are different dialects and all have different ways of handling things like e-mail.
In Pharo, check out the class SMTPClient. There are class methods that have example methods showing how to send e-mails.
For VisualWorks, load the parcel NetClients and check out the classes MailMessage and SMTPClient.
Here's an example of code that sends an e-mail in VisualWorks:
(Net.SMTPClient host: Net.NetClient netSettings defaultOutgoingHost name)
user: Net.NetClient netSettings defaultOutgoingHost netUser;
send: (Net.MailMessage newTextPlain
subject: 'This is the subject';
from: 'my-email#gmail.com';
to: 'your-email#gmail.com';
text: 'This is the body';
yourself).
For secure mail sending, take a look at ZdcSecureSMTPClient in Zodiac-Extra on a Pharo 2.0 image.
Class side shows using gmail.

Processing tokens through Drupal Rules

I am using the Rules module to respond to specific events and send email alerts. This part of my project works fine.
My problem is I need to include some dynamic data in the email message. For this I am using Tokens but the tokens do not get processed and replaced with the neccessary text. This means the email gets delivered with tokens in the message.
Can anyone suggest how I can solve this problem either programmatically or via some configuration I am missing?
I'm using Rules for emails also and hav not encountered any issues using tokens
This is an example of the body of the email from one of my rules
New Issue --> [node:url]
Title - [node:title]
Description - [node:body]
Author - [node:author]
Priority - [node:field-issue-priority]
Category - [node:field-issue-category]
Maybe you do not have the proper format?